Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008877, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009821/0.0009822, allocations: 177.9 kB / 16.57 MB, free: 6.848 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.377/1.377, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3478/0.3478, allocations: 43.55 MB / 314.5 MB, free: 8.816 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.0004871/0.0004872, allocations: 16 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 58.87 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001931/0.1236, allocations: 1.508 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1249, allocations: 0.8124 MB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.125, allocations: 8 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.1254, allocations: 199.5 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1258, allocations: 143.7 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1261, allocations: 135.7 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1264, allocations: 151.7 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.1265, allocations: 17.53 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1267, allocations: 103.6 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1268, allocations: 111.6 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1269, allocations: 7.938 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.127, allocations: 27.94 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.127, allocations: 55.81 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1271, allocations: 57.58 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1273, allocations: 156 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1273, allocations: 0 / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1273, allocations: 0 / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1273, allocations: 0 / 446.2 MB, free: 9.566 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006036/0.1279, allocations: 0.5135 MB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.128, allocations: 12.02 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.128, allocations: 27.72 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1284, allocations: 259 kB / 447 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1284, allocations: 8 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1284, allocations: 11.97 kB / 447.1 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1287, allocations: 99.23 kB / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1287, allocations: 0 / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1287, allocations: 3.953 kB / 447.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1287, allocations: 4 kB / 447.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1288, allocations: 47.97 kB / 447.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1294, allocations: 445 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1297, allocations: 113.4 kB / 447.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1297, allocations: 4 kB / 447.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.13, allocations: 121 kB / 447.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.13, allocations: 0 / 447.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000816/0.1308, allocations: 367.9 kB / 448.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1309, allocations: 77.11 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1312, allocations: 424.5 kB / 448.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1313, allocations: 33.7 kB / 448.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.1314, allocations: 152.3 kB / 448.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.1314, allocations: 51.3 kB / 449 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1314, allocations: 4 kB / 449 MB, free: 6.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1316, allocations: 342.8 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.1317, allocations: 47.92 kB / 449.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1318, allocations: 71.36 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.701e-05/0.1319, allocations: 40 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1319, allocations: 4 kB / 449.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003212/0.1322, allocations: 181.5 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1323, allocations: 8 kB / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1323, allocations: 0 / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1323, allocations: 4 kB / 449.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1324, allocations: 39.91 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1324, allocations: 4 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.1325, allocations: 7.938 kB / 449.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1326, allocations: 4 kB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.1327, allocations: 173.8 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1327, allocations: 27.62 kB / 449.9 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1328, allocations: 38.62 kB / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1328, allocations: 0 / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1328, allocations: 0 / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1328, allocations: 7.984 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.1335, allocations: 0.621 MB / 450.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1335, allocations: 7.938 kB / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.1336, allocations: 15.98 kB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1336, allocations: 4 kB / 450.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1336, allocations: 4 kB / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1336, allocations: 4 kB / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1336, allocations: 0 / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.134, allocations: 405.2 kB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1341, allocations: 108.8 kB / 451.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1342, allocations: 7.984 kB / 451.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1343, allocations: 15.98 kB / 451.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1344, allocations: 11.98 kB / 451.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1344, allocations: 8 kB / 451.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1347, allocations: 319 kB / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1347, allocations: 0 / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.135, allocations: 43.98 kB / 451.5 MB, free: 3.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009536/0.136, allocations: 469.3 kB / 452 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1362, allocations: 111.9 kB / 452.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1363, allocations: 0 / 452.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1364, allocations: 56.16 kB / 452.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1368, allocations: 61.52 kB / 452.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.1375, allocations: 0.5286 MB / 452.7 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1379, allocations: 0.7635 MB / 453.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.138, allocations: 33.92 kB / 453.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1381, allocations: 27.44 kB / 453.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1381, allocations: 0 / 453.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of Templates: time 0.1792/0.3173, allocations: 2.483 MB / 456 MB, free: 45.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches