Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 96.28 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.0008693/0.0008695, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.381/1.381, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3222/0.3222, allocations: 43.54 MB / 314.5 MB, free: 9.031 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.0005039/0.000504, allocations: 19.98 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1201, allocations: 58.85 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00215/0.1223, allocations: 1.512 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1237, allocations: 0.8162 MB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1239, allocations: 11.94 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.1243, allocations: 143.6 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1246, allocations: 111.8 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.1251, allocations: 131.7 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1254, allocations: 139.7 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1255, allocations: 25.52 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1256, allocations: 87.67 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1258, allocations: 99.64 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1258, allocations: 4 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.805e-05/0.1259, allocations: 31.92 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.126, allocations: 39.83 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.126, allocations: 57.58 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1262, allocations: 136 kB / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1262, allocations: 4 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1262, allocations: 0 / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.1263, allocations: 4 kB / 446.1 MB, free: 9.934 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.0006099/0.1269, allocations: 0.4903 MB / 446.6 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1269, allocations: 12.02 kB / 446.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.127, allocations: 27.62 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1273, allocations: 250.6 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1273, allocations: 4 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1273, allocations: 8 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1275, allocations: 99.23 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1276, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1276, allocations: 11.89 kB / 447 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1276, allocations: 7.984 kB / 447 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1277, allocations: 31.98 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1282, allocations: 448.8 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1284, allocations: 109.4 kB / 447.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1284, allocations: 11.92 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.1287, allocations: 117.2 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1287, allocations: 0 / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007609/0.1295, allocations: 352 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1295, allocations: 81.11 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1298, allocations: 355 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1299, allocations: 29.7 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1299, allocations: 136.4 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.13, allocations: 55.33 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.13, allocations: 4 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1301, allocations: 338.8 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.1302, allocations: 35.98 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1303, allocations: 83.3 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.467e-05/0.1304, allocations: 40 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1304, allocations: 0 / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002782/0.1307, allocations: 177.4 kB / 449.3 MB, free: 6.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1307, allocations: 8 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1308, allocations: 64 / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1308, allocations: 4 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1309, allocations: 43.91 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1309, allocations: 0 / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.131, allocations: 8 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.131, allocations: 8 kB / 449.4 MB, free: 6.348 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.0001241/0.1311, allocations: 161.7 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1312, allocations: 23.72 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.1312, allocations: 33.73 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1313, allocations: 0 / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1313, allocations: 4 kB / 449.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1313, allocations: 0 / 449.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.1319, allocations: 0.6123 MB / 450.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1319, allocations: 0 / 450.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.132, allocations: 24.05 kB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.132, allocations: 4 kB / 450.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.132, allocations: 4 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.132, allocations: 4 kB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.132, allocations: 0.75 kB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.1324, allocations: 401.2 kB / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1325, allocations: 112.6 kB / 450.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1325, allocations: 4 kB / 450.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1327, allocations: 11.98 kB / 450.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1327, allocations: 11.98 kB / 450.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1327, allocations: 16 kB / 450.8 MB, free: 4.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.133, allocations: 261.9 kB / 451.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.133, allocations: 0 / 451.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1333, allocations: 39.98 kB / 451.1 MB, free: 4.508 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.0009378/0.1342, allocations: 473.5 kB / 451.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1345, allocations: 111.9 kB / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1345, allocations: 0 / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1346, allocations: 60.22 kB / 451.8 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.135, allocations: 53.11 kB / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.1356, allocations: 469.6 kB / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.136, allocations: 0.7635 MB / 453 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.1361, allocations: 25.94 kB / 453.1 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1361, allocations: 27.42 kB / 453.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1361, allocations: 0 / 453.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of Templates: time 0.005176/0.1413, allocations: 2.475 MB / 455.6 MB, free: 48 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches