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/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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 187 kB / 16.64 MB, free: 5.133 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0008978/0.0008978, allocations: 104.8 kB / 269.9 MB, free: 8.445 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.3271/0.3271, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 55.92 kB / 429.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1076, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002769/0.1104, allocations: 1.723 MB / 488.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1116, allocations: 0.7818 MB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1117, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.112, allocations: 51.8 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1122, allocations: 51.81 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1124, allocations: 75.86 kB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1126, allocations: 91.69 kB / 489.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1127, allocations: 7.984 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.1128, allocations: 39.78 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.1129, allocations: 35.78 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1129, allocations: 4 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.113, allocations: 27.98 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.113, allocations: 19.92 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.1131, allocations: 35.69 kB / 490 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1133, allocations: 119.8 kB / 490.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1133, allocations: 0 / 490.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1133, allocations: 4 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1133, allocations: 0 / 490.1 MB, free: 9.465 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006015/0.1139, allocations: 434.7 kB / 490.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.114, allocations: 8.031 kB / 490.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1141, allocations: 16.83 kB / 490.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1143, allocations: 215.8 kB / 490.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1143, allocations: 4.375 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1143, allocations: 12.11 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1145, allocations: 41.69 kB / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1145, allocations: 0 / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1145, allocations: 4 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1145, allocations: 0 / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.1146, allocations: 19.92 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1147, allocations: 189.7 kB / 491 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1149, allocations: 54.61 kB / 491.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.115, allocations: 24.78 kB / 491.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.115, allocations: 4 kB / 491.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1152, allocations: 63.39 kB / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.557e-06/0.1152, allocations: 0 / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000266/0.1155, allocations: 113.3 kB / 491.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1155, allocations: 51.41 kB / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1158, allocations: 255.7 kB / 491.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1158, allocations: 25.7 kB / 491.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.1159, allocations: 112.1 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1159, allocations: 15.8 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.116, allocations: 21.72 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1161, allocations: 322.8 kB / 492 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.1162, allocations: 19.98 kB / 492.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.1163, allocations: 29.7 kB / 492.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.1164, allocations: 49.89 kB / 492.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1164, allocations: 4 kB / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.1165, allocations: 89.38 kB / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1166, allocations: 4 kB / 492.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1166, allocations: 8.016 kB / 492.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1166, allocations: 0 / 492.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.1167, allocations: 8 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1167, allocations: 4 kB / 492.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1168, allocations: 3.938 kB / 492.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1168, allocations: 4 kB / 492.3 MB, free: 7.039 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 ($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 9.808e-05/0.1169, allocations: 137.8 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1169, allocations: 11.81 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.117, allocations: 20.98 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.117, allocations: 4 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.117, allocations: 0 / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.117, allocations: 0 / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1171, allocations: 197.6 kB / 492.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1171, allocations: 4 kB / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.1172, allocations: 3.938 kB / 492.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1172, allocations: 4 kB / 492.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1172, allocations: 3.984 kB / 492.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1172, allocations: 0 / 492.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1172, allocations: 0 / 492.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.1177, allocations: 0.6901 MB / 493.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.1177, allocations: 92.91 kB / 493.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1178, allocations: 0 / 493.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.1178, allocations: 8.062 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1179, allocations: 7.984 kB / 493.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1179, allocations: 11.94 kB / 493.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.118, allocations: 203 kB / 493.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.118, allocations: 0 / 493.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.1183, allocations: 16 kB / 493.7 MB, free: 5.496 MB / 378.7 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.0008176/0.1191, allocations: 405.7 kB / 494.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1193, allocations: 47.91 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1193, allocations: 0 / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.1194, allocations: 16 kB / 494.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1196, allocations: 36.02 kB / 494.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1202, allocations: 399.5 kB / 494.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1204, allocations: 0.7121 MB / 495.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.1205, allocations: 24.47 kB / 495.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1205, allocations: 11.44 kB / 495.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1205, allocations: 4 kB / 495.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of Templates: time 0.003524/0.124, allocations: 1.477 MB / 496.8 MB, free: 2.371 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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