Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 105.6 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 190.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4071/0.4071, allocations: 43.49 MB / 313.6 MB, free: 8.309 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 70.56 kB / 382.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 57.78 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003595/0.1355, allocations: 1.753 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1368, allocations: 0.7884 MB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.1369, allocations: 4 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1372, allocations: 31.89 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1375, allocations: 43.83 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1377, allocations: 87.84 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1379, allocations: 95.7 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.138, allocations: 12.2 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.1381, allocations: 47.72 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1382, allocations: 27.86 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1382, allocations: 4 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.283e-05/0.1383, allocations: 43.98 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1384, allocations: 19.91 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.1384, allocations: 39.73 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1386, allocations: 107.9 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1386, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1386, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1386, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005155/0.1391, allocations: 411 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1392, allocations: 11.89 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1392, allocations: 34.75 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1393, allocations: 12.75 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1395, allocations: 212 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1395, allocations: 4.375 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1395, allocations: 3.938 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1397, allocations: 57.61 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1397, allocations: 0 / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1397, allocations: 4 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1397, allocations: 0 / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.1398, allocations: 19.92 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1402, allocations: 292.9 kB / 444.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1403, allocations: 58.61 kB / 444.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1404, allocations: 24.84 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1404, allocations: 0 / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1406, allocations: 67.39 kB / 444.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.604e-06/0.1406, allocations: 3.984 kB / 444.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005226/0.1412, allocations: 165.2 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1412, allocations: 59.39 kB / 444.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1414, allocations: 170.2 kB / 444.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1414, allocations: 33.64 kB / 444.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.1415, allocations: 100.1 kB / 444.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1415, allocations: 23.66 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.1415, allocations: 29.7 kB / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1416, allocations: 318.8 kB / 445.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.1417, allocations: 23.98 kB / 445.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.1418, allocations: 38.02 kB / 445.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1419, allocations: 61.75 kB / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1419, allocations: 0 / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.1421, allocations: 109.5 kB / 445.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1421, allocations: 4 kB / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1421, allocations: 0 / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1421, allocations: 4 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1422, allocations: 15.98 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1422, allocations: 0 / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1423, allocations: 7.938 kB / 445.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1423, allocations: 4 kB / 445.5 MB, free: 8.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.962e-05/0.1424, allocations: 129.8 kB / 445.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.1424, allocations: 15.81 kB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1425, allocations: 12.72 kB / 445.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1425, allocations: 3.984 kB / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1425, allocations: 0 / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1425, allocations: 3.938 kB / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.1429, allocations: 387.3 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1429, allocations: 4 kB / 446.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.143, allocations: 12.03 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.143, allocations: 4.125 kB / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.143, allocations: 0 / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.143, allocations: 3.938 kB / 446.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.143, allocations: 4 kB / 446.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1432, allocations: 204.2 kB / 446.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.1433, allocations: 81.02 kB / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1433, allocations: 11.94 kB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.1434, allocations: 0 / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1434, allocations: 11.98 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1434, allocations: 4 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.1435, allocations: 132 kB / 446.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1435, allocations: 0 / 446.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1438, allocations: 23.98 kB / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.1452, allocations: 1.121 MB / 447.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1454, allocations: 59.91 kB / 447.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1454, allocations: 4 kB / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.1455, allocations: 23.98 kB / 447.8 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1458, allocations: 28.59 kB / 447.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1473, allocations: 1.624 MB / 449.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1476, allocations: 0.7041 MB / 450.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1477, allocations: 16.81 kB / 450.1 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.1477, allocations: 35.42 kB / 450.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1477, allocations: 0 / 450.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1606, allocations: 3.137 MB / 453.3 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.1608, allocations: 230.8 kB / 453.5 MB, free: 424 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.926, allocations: 0 / 453.5 MB, free: 424 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches