Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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 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 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 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 101.4 kB / 16.64 MB, free: 6.82 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.001289/0.001289, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1932/0.1932, allocations: 43.52 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 68.34 kB / 382.9 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08765, allocations: 57.79 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003513/0.0912, allocations: 1.847 MB / 442.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.09337, allocations: 1.446 MB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.09353, allocations: 4 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.0939, allocations: 47.83 kB / 444 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.09427, allocations: 83.61 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.0947, allocations: 123.4 kB / 444.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.09496, allocations: 179.5 kB / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.179e-05/0.09504, allocations: 9.562 kB / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.09519, allocations: 87.5 kB / 444.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.09542, allocations: 75.69 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.09545, allocations: 4 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.09564, allocations: 63.97 kB / 444.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.09571, allocations: 31.84 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.0958, allocations: 63.59 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.09605, allocations: 128 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09607, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09608, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09609, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.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.0006032/0.0967, allocations: 474.5 kB / 445.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.09675, allocations: 11.89 kB / 445.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.09683, allocations: 16.75 kB / 445.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.0971, allocations: 247.4 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.09712, allocations: 4.375 kB / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.09715, allocations: 4.125 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.09739, allocations: 105 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.09741, allocations: 4 kB / 445.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.09743, allocations: 7.984 kB / 445.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09744, allocations: 4 kB / 445.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.09757, allocations: 27.97 kB / 445.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.09777, allocations: 206.6 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.09806, allocations: 109.2 kB / 446 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.09817, allocations: 41.64 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.09821, allocations: 7.969 kB / 446.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.0985, allocations: 116.9 kB / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.09852, allocations: 0 / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004842/0.09901, allocations: 165.8 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.09907, allocations: 128.5 kB / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.09929, allocations: 211.8 kB / 446.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.09931, allocations: 29.7 kB / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.09937, allocations: 116.1 kB / 446.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.09942, allocations: 31.58 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.09948, allocations: 29.7 kB / 446.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.09955, allocations: 326.8 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.09967, allocations: 31.92 kB / 447.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.09978, allocations: 69.12 kB / 447.3 MB, free: 428 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.09998, allocations: 95.45 kB / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1, allocations: 0 / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003036/0.1003, allocations: 137.3 kB / 447.5 MB, free: 176 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1003, allocations: 4 kB / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1004, allocations: 4 kB / 447.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1004, allocations: 8.047 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1005, allocations: 20 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1005, allocations: 0 / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1006, allocations: 15.89 kB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1007, allocations: 4 kB / 447.6 MB, free: 120 kB / 318.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.0001386/0.1008, allocations: 141.7 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.1009, allocations: 15.81 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1009, allocations: 13 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1009, allocations: 8 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.101, allocations: 0 / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.101, allocations: 3.984 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1012, allocations: 221.5 kB / 448 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1012, allocations: 0 / 448 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1013, allocations: 8.125 kB / 448 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1013, allocations: 0 / 448 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.1013, allocations: 15.98 kB / 448 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1014, allocations: 0 / 448 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1014, allocations: 0 / 448 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.1017, allocations: 169.6 kB / 448.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.1018, allocations: 88.92 kB / 448.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1019, allocations: 8 kB / 448.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.102, allocations: 7.984 kB / 448.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.102, allocations: 11.92 kB / 448.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.102, allocations: 8 kB / 448.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1022, allocations: 165.5 kB / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1022, allocations: 0 / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.1026, allocations: 40.08 kB / 448.5 MB, free: 15.11 MB / 334.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.001453/0.1041, allocations: 451.2 kB / 448.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1044, allocations: 91.89 kB / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1045, allocations: 0 / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1046, allocations: 39.91 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1051, allocations: 65.91 kB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.1058, allocations: 321.7 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1061, allocations: 0.7163 MB / 450.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.1062, allocations: 31.36 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1062, allocations: 0 / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006447/0.1127, allocations: 2.708 MB / 452.9 MB, free: 10.72 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches