Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001516/0.001516, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001495/0.001495, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 61.22 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1347, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003769/0.1386, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1411, allocations: 1.479 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1413, allocations: 4 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1416, allocations: 35.83 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.142, allocations: 59.7 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1424, allocations: 114.7 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1427, allocations: 91.7 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1428, allocations: 16.23 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1429, allocations: 43.78 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1431, allocations: 31.84 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1432, allocations: 4 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1434, allocations: 71.89 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1435, allocations: 15.88 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.1435, allocations: 35.78 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1439, allocations: 115.9 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1439, allocations: 4 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1439, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1439, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.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.0007906/0.1447, allocations: 410.1 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.1448, allocations: 8.031 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.1449, allocations: 34.75 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.1449, allocations: 8.844 kB / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1453, allocations: 208 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1453, allocations: 384 / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1454, allocations: 11.94 kB / 473.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1457, allocations: 71.38 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1457, allocations: 0 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1457, allocations: 0 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1457, allocations: 4 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1458, allocations: 19.92 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.1464, allocations: 288.8 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1466, allocations: 58.69 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.1466, allocations: 20.84 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1467, allocations: 0 / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.1469, allocations: 71.33 kB / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1469, allocations: 0 / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006312/0.1476, allocations: 177.4 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1477, allocations: 81.11 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1478, allocations: 153.8 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1479, allocations: 29.7 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.148, allocations: 92.14 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.148, allocations: 27.64 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.1481, allocations: 21.72 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1482, allocations: 322.8 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.1483, allocations: 24.05 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.1484, allocations: 46.56 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1485, allocations: 61.72 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1485, allocations: 0 / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.1487, allocations: 101.8 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1488, allocations: 6.5 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1488, allocations: 8 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1488, allocations: 0 / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1489, allocations: 23.92 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1489, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.149, allocations: 11.94 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.149, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.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 0.0001246/0.1492, allocations: 117.8 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1492, allocations: 11.89 kB / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1493, allocations: 12.72 kB / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1493, allocations: 4 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1493, allocations: 0 / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1493, allocations: 3.938 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1498, allocations: 391.3 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1498, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1499, allocations: 11.94 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.1499, allocations: 7.938 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1499, allocations: 3.938 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1499, allocations: 4.031 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1499, allocations: 0 / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1502, allocations: 200.2 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1503, allocations: 89 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1503, allocations: 7.938 kB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1504, allocations: 4 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1505, allocations: 11.98 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1505, allocations: 4 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1506, allocations: 117.8 kB / 476.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1506, allocations: 0 / 476.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1509, allocations: 28 kB / 476.5 MB, free: 6.703 MB / 350.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.001795/0.1527, allocations: 1.143 MB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1529, allocations: 55.92 kB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1529, allocations: 0 / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.153, allocations: 31.92 kB / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1534, allocations: 34.25 kB / 477.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1556, allocations: 1.547 MB / 479.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1559, allocations: 0.7012 MB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.156, allocations: 17.33 kB / 480.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.1561, allocations: 35.42 kB / 480.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1561, allocations: 3.938 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1799, allocations: 3.459 MB / 483.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.966, allocations: 14.25 kB / 483.6 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches