Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001637/0.001637, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001972/0.001972, allocations: 192 kB / 18.56 MB, free: 4.434 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.46/1.46, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.58 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1296, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00372/0.1334, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1351, allocations: 0.8847 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.1352, allocations: 3.938 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1355, allocations: 35.81 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1358, allocations: 55.7 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1361, allocations: 106.4 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1363, allocations: 103.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1364, allocations: 12.23 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1365, allocations: 35.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.1366, allocations: 39.77 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1366, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1368, allocations: 40 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1368, allocations: 19.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.1369, allocations: 39.72 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1371, allocations: 111.9 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1371, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1371, allocations: 3.938 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1371, allocations: 0 / 472.5 MB, free: 11.06 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.0005383/0.1377, allocations: 422.9 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1377, allocations: 8.031 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.1378, allocations: 34.69 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1378, allocations: 8.844 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1381, allocations: 210.7 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1382, allocations: 12.38 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1382, allocations: 3.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1383, allocations: 57.66 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1383, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1384, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1384, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.1385, allocations: 23.92 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1388, allocations: 288.8 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.139, allocations: 58.67 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.139, allocations: 16.86 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1391, allocations: 7.922 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1392, allocations: 67.39 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1393, allocations: 4 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.1398, allocations: 177.1 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1399, allocations: 55.39 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1401, allocations: 199.3 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1401, allocations: 33.7 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1402, allocations: 96.14 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1402, allocations: 23.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1402, allocations: 25.72 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1404, allocations: 326.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1404, allocations: 15.98 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1405, allocations: 37.7 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1407, allocations: 61.64 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1407, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.1409, allocations: 113.4 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1409, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1409, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1409, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.141, allocations: 20.17 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.141, allocations: 0 / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1411, allocations: 11.81 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1411, allocations: 4.375 kB / 474.9 MB, free: 8.426 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.0001053/0.1412, allocations: 133.8 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1412, allocations: 11.94 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1413, allocations: 17.39 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1413, allocations: 4 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1413, allocations: 4 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1413, allocations: 3.938 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.1418, allocations: 387.3 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1418, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.1418, allocations: 11.94 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1418, allocations: 7.969 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1419, allocations: 3.984 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1419, allocations: 4 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1419, allocations: 0 / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1421, allocations: 208.4 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1422, allocations: 85.02 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1422, allocations: 7.938 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1423, allocations: 8 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1424, allocations: 7.922 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1424, allocations: 4 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1425, allocations: 151.9 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1425, allocations: 0 / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1428, allocations: 24 kB / 476 MB, free: 7.258 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.001571/0.1444, allocations: 1.089 MB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1446, allocations: 71.89 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1446, allocations: 0 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.1447, allocations: 27.94 kB / 477.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1451, allocations: 35.89 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1469, allocations: 1.651 MB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1472, allocations: 0.7041 MB / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.1472, allocations: 21.17 kB / 479.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1474, allocations: 39.42 kB / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1474, allocations: 0 / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1719, allocations: 3.345 MB / 483 MB, free: 416 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.609, allocations: 8.062 kB / 483 MB, free: 408 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches