Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001279, 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.001204/0.001204, 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.36/1.36, 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.2091/0.2091, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.12 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002893/0.1069, allocations: 1.718 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1083, allocations: 0.8847 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.1083, allocations: 3.938 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1086, allocations: 107.7 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1089, allocations: 87.64 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1092, allocations: 115.4 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1093, allocations: 115.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.1094, allocations: 16 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.1095, allocations: 59.75 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1096, allocations: 59.81 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1097, allocations: 7.938 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1098, allocations: 55.98 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.1098, allocations: 27.92 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.1099, allocations: 47.59 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1101, allocations: 139.5 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1101, allocations: 0 / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1101, allocations: 0 / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1101, allocations: 4 kB / 474.1 MB, free: 10.21 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.0005137/0.1107, allocations: 430.8 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1107, allocations: 8.031 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1107, allocations: 16.84 kB / 474.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.111, allocations: 220.7 kB / 474.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.111, allocations: 8.312 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.111, allocations: 12.12 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1112, allocations: 57.66 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1112, allocations: 4 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1112, allocations: 4 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1112, allocations: 0 / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.1113, allocations: 19.98 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1117, allocations: 304.7 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1119, allocations: 62.48 kB / 475.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.112, allocations: 28.91 kB / 475.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.112, allocations: 8.062 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1121, allocations: 63.39 kB / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1122, allocations: 0 / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007087/0.1129, allocations: 248.9 kB / 475.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1129, allocations: 55.34 kB / 475.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1131, allocations: 242.3 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1132, allocations: 33.64 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.1132, allocations: 108.1 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1133, allocations: 35.53 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1133, allocations: 29.72 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1134, allocations: 330.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.1135, allocations: 27.98 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.1136, allocations: 49.7 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1137, allocations: 81.64 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1138, allocations: 0 / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002174/0.114, allocations: 125.4 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.114, allocations: 4 kB / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.114, allocations: 4.703 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.114, allocations: 3.984 kB / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.1141, allocations: 23.97 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1141, allocations: 7.938 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1142, allocations: 3.984 kB / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1142, allocations: 8 kB / 476.8 MB, free: 7.352 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 (13): * Single equations (assignments): 13 * 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.0001032/0.1143, allocations: 136.8 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1143, allocations: 11.81 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1144, allocations: 17.41 kB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1144, allocations: 4 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1144, allocations: 7.938 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1144, allocations: 7.969 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.1149, allocations: 456 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1149, allocations: 0 / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.115, allocations: 15.98 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.115, allocations: 7.875 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.115, allocations: 4 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.115, allocations: 0 / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.115, allocations: 8.047 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1153, allocations: 233.1 kB / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1154, allocations: 88.92 kB / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1154, allocations: 0 / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.1155, allocations: 8 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1155, allocations: 16.02 kB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1155, allocations: 7.938 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1157, allocations: 188.3 kB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1157, allocations: 0 / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.116, allocations: 31.98 kB / 478 MB, free: 6.02 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 (11): * Single equations (assignments): 9 * 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.001099/0.1171, allocations: 0.4983 MB / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1173, allocations: 91.84 kB / 478.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1173, allocations: 0 / 478.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.1174, allocations: 39.92 kB / 478.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1178, allocations: 35.66 kB / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1183, allocations: 296.6 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1186, allocations: 0.7273 MB / 479.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.1186, allocations: 16.64 kB / 479.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1187, allocations: 27.36 kB / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1187, allocations: 0 / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004405/0.1231, allocations: 1.952 MB / 481.7 MB, free: 2.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches