Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001009/0.001009, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.16 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.2043/0.2043, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 63.97 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003166/0.1105, allocations: 1.66 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1119, allocations: 0.8613 MB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.112, allocations: 3.938 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1123, allocations: 47.81 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1126, allocations: 59.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1129, allocations: 106.9 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1131, allocations: 91.7 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.1131, allocations: 15.98 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.1132, allocations: 39.83 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.1133, allocations: 27.8 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1133, allocations: 4 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.1134, allocations: 35.98 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1135, allocations: 35.84 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.1136, allocations: 31.75 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1138, allocations: 115.6 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1138, allocations: 4 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1138, allocations: 0 / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1138, allocations: 4 kB / 473.8 MB, free: 10.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005804/0.1144, allocations: 422.8 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1144, allocations: 12.03 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1145, allocations: 12.75 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1148, allocations: 224.5 kB / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1148, allocations: 4.375 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1148, allocations: 4.125 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.115, allocations: 49.67 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.115, allocations: 4 kB / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.115, allocations: 0 / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.115, allocations: 0 / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.1151, allocations: 15.98 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1153, allocations: 193.6 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1155, allocations: 50.56 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1155, allocations: 28.78 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1155, allocations: 4 kB / 474.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.1157, allocations: 63.39 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.542e-06/0.1157, allocations: 0 / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002692/0.116, allocations: 101.4 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.116, allocations: 51.41 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1163, allocations: 266.3 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1163, allocations: 25.7 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1164, allocations: 112.1 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1164, allocations: 11.91 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1164, allocations: 21.7 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1166, allocations: 322.8 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.1166, allocations: 12 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1167, allocations: 29.7 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.1168, allocations: 61.83 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1168, allocations: 0 / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.117, allocations: 85.44 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.117, allocations: 4 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.117, allocations: 0 / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.117, allocations: 0 / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1171, allocations: 19.92 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1171, allocations: 4.031 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1172, allocations: 7.938 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1172, allocations: 0 / 476 MB, free: 8.07 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 (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 0.0001025/0.1173, allocations: 137.8 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1173, allocations: 11.81 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.1174, allocations: 20.98 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1174, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1174, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1174, allocations: 7.984 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1176, allocations: 197.6 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1176, allocations: 0 / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.1176, allocations: 8 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1176, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1176, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1176, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1176, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1178, allocations: 116.8 kB / 476.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1179, allocations: 88.92 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1179, allocations: 12.11 kB / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.118, allocations: 7.938 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.118, allocations: 4 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.118, allocations: 0 / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1182, allocations: 204.2 kB / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1182, allocations: 0 / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1184, allocations: 20 kB / 476.8 MB, free: 7.152 MB / 350.1 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.0008711/0.1193, allocations: 403 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1195, allocations: 39.92 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1195, allocations: 0 / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.1195, allocations: 19.98 kB / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1198, allocations: 39.77 kB / 477.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.1202, allocations: 258.6 kB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1205, allocations: 0.7158 MB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1206, allocations: 12.55 kB / 478.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1206, allocations: 19.42 kB / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1206, allocations: 3.938 kB / 478.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of Templates: time 0.004013/0.1246, allocations: 1.489 MB / 479.8 MB, free: 4.285 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches