Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.001653/0.001659, allocations: 102.5 kB / 15.98 MB, free: 5.906 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.001938/0.001938, allocations: 189.3 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.8 MB, free: 4.445 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.3375/0.3375, allocations: 43.5 MB / 313.6 MB, free: 8.633 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.001641/0.001641, allocations: 67.91 kB / 382.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1213, allocations: 57.78 MB / 440.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003051/0.1243, allocations: 1.706 MB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1257, allocations: 0.7768 MB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.1258, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1261, allocations: 47.81 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1263, allocations: 59.81 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1266, allocations: 75.84 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1268, allocations: 91.7 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.1268, allocations: 11.97 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.1269, allocations: 47.77 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.127, allocations: 27.86 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.127, allocations: 0 / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.1271, allocations: 31.92 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.1272, allocations: 31.91 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.1272, allocations: 39.69 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1274, allocations: 119.8 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1274, allocations: 0 / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1274, allocations: 0 / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1275, allocations: 0 / 443.2 MB, free: 11.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005016/0.128, allocations: 434.7 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.128, allocations: 11.89 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.128, allocations: 34.69 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1281, allocations: 24.83 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1284, allocations: 211.8 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1284, allocations: 384 / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1285, allocations: 11.92 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1286, allocations: 45.69 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1286, allocations: 0 / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1287, allocations: 0 / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1287, allocations: 0 / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.1287, allocations: 19.98 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1289, allocations: 193.6 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1291, allocations: 54.56 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1292, allocations: 20.84 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1292, allocations: 0 / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1294, allocations: 71.3 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1294, allocations: 3.938 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002711/0.1297, allocations: 93.52 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1298, allocations: 59.41 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.13, allocations: 259.7 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.13, allocations: 25.7 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.1301, allocations: 112.1 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.1301, allocations: 11.8 kB / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1302, allocations: 21.72 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1303, allocations: 330.8 kB / 445.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.1304, allocations: 15.98 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.1304, allocations: 21.72 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.1305, allocations: 45.64 kB / 445.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1305, allocations: 7.938 kB / 445.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.1307, allocations: 81.5 kB / 445.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1307, allocations: 11.94 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1307, allocations: 3.984 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1308, allocations: 0 / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.1308, allocations: 8.312 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1309, allocations: 0 / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1309, allocations: 11.94 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1309, allocations: 8 kB / 445.4 MB, free: 9.051 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 (7): * Single equations (assignments): 7 * 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.000113/0.1311, allocations: 133.8 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1311, allocations: 15.81 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1311, allocations: 20.98 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1312, allocations: 3.984 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1312, allocations: 0 / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1312, allocations: 0 / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1313, allocations: 201.5 kB / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1313, allocations: 0 / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.1314, allocations: 4 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1314, allocations: 0 / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1314, allocations: 4 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1314, allocations: 11.92 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1314, allocations: 0 / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1316, allocations: 108.9 kB / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1317, allocations: 89 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1317, allocations: 3.938 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.1317, allocations: 4 kB / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1318, allocations: 4 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1318, allocations: 11.98 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.132, allocations: 199 kB / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.132, allocations: 0 / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1323, allocations: 16 kB / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00147/0.1337, allocations: 0.9589 MB / 447.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1339, allocations: 47.92 kB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.134, allocations: 0 / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.134, allocations: 19.98 kB / 447.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1344, allocations: 31.77 kB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1365, allocations: 1.673 MB / 448.9 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1368, allocations: 0.7119 MB / 449.6 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.1369, allocations: 20.8 kB / 449.7 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.137, allocations: 39.42 kB / 449.7 MB, free: 4.527 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.137, allocations: 0 / 449.7 MB, free: 4.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1535, allocations: 3.224 MB / 452.9 MB, free: 1.285 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.1537, allocations: 230.8 kB / 453.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.902, allocations: 3.938 kB / 453.2 MB, free: 1.031 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches