Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, 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.001303/0.001303, 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.387/1.387, allocations: 222.9 MB / 242.2 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.2059/0.2059, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 69.2 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1236, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.005703/0.1293, allocations: 1.699 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1308, allocations: 0.8768 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1309, allocations: 4 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1312, allocations: 91.67 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1315, allocations: 71.73 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1318, allocations: 107.6 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.132, allocations: 111.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1321, allocations: 4.234 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.1323, allocations: 51.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1324, allocations: 63.81 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1324, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1325, allocations: 39.97 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1326, allocations: 27.86 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1327, allocations: 35.75 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1329, allocations: 111.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1329, allocations: 3.938 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1329, allocations: 0 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1329, allocations: 0 / 472.5 MB, free: 11.04 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.0005948/0.1335, allocations: 422.9 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1336, allocations: 8.031 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.1336, allocations: 12.84 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1339, allocations: 219.9 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1339, allocations: 384 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1339, allocations: 8.109 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1341, allocations: 57.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1341, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1341, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1341, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.1342, allocations: 23.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1346, allocations: 288.9 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1347, allocations: 54.62 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.1348, allocations: 20.84 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1348, allocations: 8 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.135, allocations: 63.39 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.135, allocations: 0 / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.1356, allocations: 185.2 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1356, allocations: 59.34 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1359, allocations: 207.5 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1359, allocations: 25.7 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1359, allocations: 112.1 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.136, allocations: 35.56 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.136, allocations: 21.66 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1361, allocations: 330.8 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1362, allocations: 19.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.1363, allocations: 37.7 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1364, allocations: 61.7 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1364, allocations: 0 / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.1366, allocations: 97.59 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1366, allocations: 8 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1366, allocations: 0 / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1366, allocations: 0 / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.1367, allocations: 23.98 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1367, allocations: 3.938 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.1368, allocations: 3.938 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1368, allocations: 8.031 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.0001056/0.1369, allocations: 129.8 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1369, allocations: 11.81 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.137, allocations: 21.39 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.137, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.137, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.137, allocations: 3.938 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.1374, allocations: 395.3 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1375, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1375, allocations: 8 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1375, allocations: 4 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1375, allocations: 7.922 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1375, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1375, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1378, allocations: 212.2 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.1378, allocations: 85.02 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1379, allocations: 7.938 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1379, allocations: 7.984 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.138, allocations: 7.938 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.138, allocations: 4 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1381, allocations: 160.2 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 0 / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1384, allocations: 28.17 kB / 476 MB, free: 7.25 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.001117/0.1395, allocations: 467.4 kB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1397, allocations: 71.89 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1398, allocations: 0 / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.1399, allocations: 27.92 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1402, allocations: 24.3 kB / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.1407, allocations: 247.3 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1409, allocations: 0.708 MB / 477.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.141, allocations: 12.88 kB / 477.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.141, allocations: 15.44 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.141, allocations: 7.938 kB / 477.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Templates: time 0.004703/0.1457, allocations: 1.717 MB / 479.3 MB, free: 4.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches