Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001172/0.001173, allocations: 194 kB / 18.77 MB, free: 4.742 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 13.71 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.1942/0.1942, allocations: 44.17 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 73.55 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00308/0.1088, allocations: 1.769 MB / 471 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1102, allocations: 0.8614 MB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.1103, allocations: 3.938 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1107, allocations: 115.8 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1109, allocations: 75.78 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1112, allocations: 95.77 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1114, allocations: 119.7 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.1115, allocations: 16 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1116, allocations: 55.75 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1118, allocations: 63.77 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1118, allocations: 4 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1119, allocations: 55.91 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.112, allocations: 27.91 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1121, allocations: 47.67 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1122, allocations: 108.1 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1123, allocations: 0 / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1123, allocations: 4 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1123, allocations: 4 kB / 472.6 MB, free: 11.37 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000532/0.1128, allocations: 442.8 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1129, allocations: 12.03 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1129, allocations: 16.73 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1132, allocations: 227.8 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1132, allocations: 8.375 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1132, allocations: 4.125 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1134, allocations: 69.66 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1134, allocations: 7.938 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1134, allocations: 0 / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1134, allocations: 0 / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1135, allocations: 39.91 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1139, allocations: 312.7 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1142, allocations: 78.58 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.1143, allocations: 28.84 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1143, allocations: 3.984 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1145, allocations: 71.39 kB / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.015e-06/0.1146, allocations: 0 / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008154/0.1154, allocations: 277.5 kB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1154, allocations: 59.34 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1156, allocations: 251.2 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1157, allocations: 25.7 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.1157, allocations: 112.1 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1158, allocations: 43.45 kB / 474.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.1158, allocations: 25.72 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1159, allocations: 326.8 kB / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.116, allocations: 31.98 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.1161, allocations: 65.64 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1163, allocations: 89.75 kB / 475.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1163, allocations: 0 / 475.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002463/0.1166, allocations: 141.4 kB / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1166, allocations: 4 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1166, allocations: 0 / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1166, allocations: 4 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.1167, allocations: 24.02 kB / 475.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1167, allocations: 7.938 kB / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.1168, allocations: 4 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1168, allocations: 4 kB / 475.4 MB, free: 8.367 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 (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.0001092/0.1169, allocations: 138.3 kB / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1169, allocations: 15.81 kB / 475.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.117, allocations: 25.39 kB / 475.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.117, allocations: 0 / 475.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.117, allocations: 7.938 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.117, allocations: 0 / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.1176, allocations: 483.9 kB / 476 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1176, allocations: 0 / 476 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1177, allocations: 23.98 kB / 476 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1177, allocations: 3.938 kB / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1177, allocations: 8 kB / 476.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1177, allocations: 4.062 kB / 476.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1177, allocations: 0 / 476.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.118, allocations: 244.9 kB / 476.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1181, allocations: 88.92 kB / 476.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1181, allocations: 4 kB / 476.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.1182, allocations: 15.98 kB / 476.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1182, allocations: 4 kB / 476.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1183, allocations: 7.984 kB / 476.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1184, allocations: 188.2 kB / 476.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1184, allocations: 0 / 476.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1187, allocations: 28 kB / 476.6 MB, free: 6.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001171/0.1199, allocations: 0.5182 MB / 477.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1201, allocations: 91.91 kB / 477.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1201, allocations: 0 / 477.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1202, allocations: 47.92 kB / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1206, allocations: 31.58 kB / 477.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.1212, allocations: 376.2 kB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1215, allocations: 0.7243 MB / 478.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.1215, allocations: 23.44 kB / 478.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1215, allocations: 0 / 478.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of Templates: time 0.004095/0.1256, allocations: 2.359 MB / 480.8 MB, free: 2.977 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches