Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001059/0.001059, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.15 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.1979/0.1979, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003443/0.1103, allocations: 1.788 MB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1126, allocations: 1.561 MB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.1127, allocations: 4 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.113, allocations: 51.69 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.1133, allocations: 91.53 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.1137, allocations: 178.8 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.114, allocations: 175.5 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.114, allocations: 17.53 kB / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1141, allocations: 79.62 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1143, allocations: 67.62 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1144, allocations: 8 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1145, allocations: 63.97 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1146, allocations: 27.91 kB / 474.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.1147, allocations: 63.53 kB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1149, allocations: 171.5 kB / 475 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1149, allocations: 0 / 475 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1149, allocations: 0 / 475 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1149, allocations: 0 / 475 MB, free: 9.297 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006246/0.1156, allocations: 466.7 kB / 475.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1156, allocations: 8.031 kB / 475.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.1157, allocations: 16.75 kB / 475.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.116, allocations: 248.4 kB / 475.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1161, allocations: 16.38 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1161, allocations: 8.125 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1163, allocations: 93.08 kB / 475.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1164, allocations: 0 / 475.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1164, allocations: 4 kB / 475.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1164, allocations: 3.938 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1165, allocations: 31.98 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.1168, allocations: 214.5 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1171, allocations: 109.2 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.1172, allocations: 45.64 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1172, allocations: 4 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1174, allocations: 101 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1174, allocations: 4 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004624/0.1179, allocations: 169.4 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.118, allocations: 128.5 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1182, allocations: 219.7 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1183, allocations: 25.7 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1183, allocations: 116.1 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.1184, allocations: 27.64 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1184, allocations: 25.72 kB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1186, allocations: 334.8 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1187, allocations: 27.97 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1188, allocations: 65.14 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.119, allocations: 87.39 kB / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.119, allocations: 0 / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003018/0.1193, allocations: 149.8 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1193, allocations: 11.94 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1193, allocations: 0 / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1194, allocations: 0 / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1195, allocations: 23.98 kB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1195, allocations: 0 / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.1196, allocations: 12 kB / 477.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1196, allocations: 4 kB / 477.8 MB, free: 6.246 MB / 350.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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001104/0.1197, allocations: 145.7 kB / 477.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1197, allocations: 15.81 kB / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1198, allocations: 20.98 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1198, allocations: 0 / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1198, allocations: 0 / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1198, allocations: 0 / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.12, allocations: 221.4 kB / 478.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.12, allocations: 8 kB / 478.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.12, allocations: 7.984 kB / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.12, allocations: 0 / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1201, allocations: 4 kB / 478.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1201, allocations: 0 / 478.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1201, allocations: 0 / 478.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1204, allocations: 173.6 kB / 478.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.1204, allocations: 96.94 kB / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1205, allocations: 0 / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.1205, allocations: 8 kB / 478.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1206, allocations: 7.984 kB / 478.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1206, allocations: 4.094 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1208, allocations: 165.5 kB / 478.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1208, allocations: 0 / 478.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.121, allocations: 39.94 kB / 478.7 MB, free: 5.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001/0.122, allocations: 457 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1223, allocations: 79.91 kB / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1223, allocations: 0 / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1224, allocations: 44.3 kB / 479.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1228, allocations: 70.84 kB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.1233, allocations: 263.7 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1235, allocations: 0.7202 MB / 480.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.299e-05/0.1236, allocations: 29.53 kB / 480.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.1237, allocations: 19.44 kB / 480.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1237, allocations: 0 / 480.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of Templates: time 0.006499/0.1302, allocations: 2.646 MB / 483 MB, free: 1.086 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches