Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009724, allocations: 177 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007216/0.0007215, allocations: 94.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3103/0.3103, allocations: 43.55 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001898/0.1121, allocations: 1.394 MB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1132, allocations: 0.7422 MB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.1133, allocations: 4 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1135, allocations: 83.75 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1137, allocations: 59.8 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1139, allocations: 79.83 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1141, allocations: 87.75 kB / 493.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.1142, allocations: 16.16 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.1143, allocations: 47.83 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.1144, allocations: 47.81 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1144, allocations: 11.88 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.1145, allocations: 32 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1145, allocations: 23.91 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1146, allocations: 53.5 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1148, allocations: 88.09 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1148, allocations: 0 / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1148, allocations: 0 / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1148, allocations: 0 / 493.6 MB, free: 7.859 MB / 378.7 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.0004781/0.1153, allocations: 407 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1153, allocations: 8.031 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1154, allocations: 12.75 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1156, allocations: 216.1 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.1156, allocations: 8.312 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1157, allocations: 4.125 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1158, allocations: 53.67 kB / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1158, allocations: 0 / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1158, allocations: 4 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1159, allocations: 7.938 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.1159, allocations: 19.92 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1163, allocations: 284.9 kB / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1164, allocations: 58.67 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1165, allocations: 24.84 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1165, allocations: 0 / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1167, allocations: 67.33 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1167, allocations: 4 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.1172, allocations: 181 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1173, allocations: 55.41 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1175, allocations: 210.4 kB / 495.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1175, allocations: 25.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1176, allocations: 108.1 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1176, allocations: 27.64 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1176, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1177, allocations: 326.8 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.1178, allocations: 16 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.1179, allocations: 37.7 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.118, allocations: 65.64 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.118, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001647/0.1182, allocations: 101.4 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1182, allocations: 11.59 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1182, allocations: 0 / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1182, allocations: 3.984 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.1183, allocations: 12 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1183, allocations: 8.188 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1184, allocations: 11.92 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1184, allocations: 4 kB / 495.9 MB, free: 5.297 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.1185, allocations: 133.6 kB / 496.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1185, allocations: 12.27 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1186, allocations: 21.39 kB / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1186, allocations: 3.938 kB / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1186, allocations: 0 / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1186, allocations: 7.938 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.119, allocations: 403.2 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.119, allocations: 0 / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.119, allocations: 12.12 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.119, allocations: 0 / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1191, allocations: 11.88 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1191, allocations: 0 / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1191, allocations: 0 / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1193, allocations: 204.3 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1193, allocations: 92.91 kB / 496.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1194, allocations: 7.938 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.1194, allocations: 4 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.1195, allocations: 7.984 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1195, allocations: 4 kB / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1196, allocations: 164.2 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1196, allocations: 0 / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1199, allocations: 27.98 kB / 497 MB, free: 4.102 MB / 378.7 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 (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.0008837/0.1208, allocations: 457.3 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1209, allocations: 55.91 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.121, allocations: 0 / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.121, allocations: 28 kB / 497.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1213, allocations: 23.97 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.1218, allocations: 283.9 kB / 497.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1221, allocations: 0.7083 MB / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.1221, allocations: 15.44 kB / 498.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1221, allocations: 4 kB / 498.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of Templates: time 0.003173/0.1253, allocations: 1.922 MB / 0.4888 GB, free: 0.6055 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches