Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007697/0.0007696, allocations: 90.55 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3177/0.3177, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.347e-05, allocations: 8 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4617, allocations: 87.46 MB / 0.5582 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.462, allocations: 71.64 kB / 0.5583 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.475, allocations: 5.525 MB / 0.5637 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.475, allocations: 0 / 0.5637 GB, free: 13.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.475, allocations: 4 kB / 0.5637 GB, free: 13.27 MB / 394.7 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.0003181/0.4753, allocations: 409.2 kB / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4754, allocations: 9.297 kB / 0.5641 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.4754, allocations: 19.25 kB / 0.5641 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.4757, allocations: 225.1 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4757, allocations: 1.547 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4757, allocations: 4 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.352e-05/0.4758, allocations: 55.91 kB / 0.5644 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4758, allocations: 0 / 0.5644 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4759, allocations: 4 kB / 0.5644 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4759, allocations: 1.375 kB / 0.5644 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.4759, allocations: 13.62 kB / 0.5644 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.4761, allocations: 200.4 kB / 0.5646 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.4762, allocations: 45.59 kB / 0.5646 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.4762, allocations: 22.38 kB / 0.5647 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4762, allocations: 0 / 0.5647 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.851e-05/0.4763, allocations: 62.45 kB / 0.5647 GB, free: 12.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4763, allocations: 4 kB / 0.5647 GB, free: 12.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001673/0.4765, allocations: 83.05 kB / 0.5648 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4765, allocations: 52.17 kB / 0.5649 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4767, allocations: 237.2 kB / 0.5651 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.4768, allocations: 25.7 kB / 0.5651 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.4768, allocations: 116 kB / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4768, allocations: 13.39 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4768, allocations: 0 / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.4769, allocations: 330 kB / 0.5655 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.4769, allocations: 16.92 kB / 0.5656 GB, free: 11.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.4769, allocations: 27.22 kB / 0.5656 GB, free: 11.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.477, allocations: 25.06 kB / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.477, allocations: 6.719 kB / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.564e-05/0.4771, allocations: 81.81 kB / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4771, allocations: 8 kB / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4771, allocations: 0 / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4771, allocations: 5.297 kB / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4772, allocations: 9.359 kB / 0.5657 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4772, allocations: 4 kB / 0.5657 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.4773, allocations: 5.172 kB / 0.5657 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4773, allocations: 4 kB / 0.5657 GB, free: 11.26 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.4773, allocations: 115.1 kB / 0.5658 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.4774, allocations: 7.906 kB / 0.5658 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4775, allocations: 95.8 kB / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4775, allocations: 8 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4775, allocations: 0 / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4775, allocations: 1.453 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4776, allocations: 208.3 kB / 0.5661 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4776, allocations: 3.953 kB / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.4777, allocations: 9.469 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4777, allocations: 0 / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4777, allocations: 0 / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4777, allocations: 1.266 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4777, allocations: 0 / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.4778, allocations: 118.7 kB / 0.5663 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.4779, allocations: 99.92 kB / 0.5664 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4779, allocations: 5.453 kB / 0.5664 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.478, allocations: 4 kB / 0.5664 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.478, allocations: 11.05 kB / 0.5664 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.478, allocations: 0 / 0.5664 GB, free: 10.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.4781, allocations: 196.1 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.4782, allocations: 0.9375 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.4783, allocations: 37.02 kB / 0.5666 GB, free: 10.42 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007046/0.4791, allocations: 369 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.329e-05/0.4792, allocations: 45.38 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4792, allocations: 0 / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.4792, allocations: 15.94 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4794, allocations: 29.08 kB / 0.5671 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4797, allocations: 202.1 kB / 0.5672 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4799, allocations: 0.7307 MB / 0.568 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.4799, allocations: 15.39 kB / 0.568 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.4799, allocations: 17.36 kB / 0.568 GB, free: 9.129 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.48, allocations: 0 / 0.568 GB, free: 9.129 MB / 394.7 MB Notification: Performance of Templates: time 0.003213/0.4832, allocations: 1.62 MB / 0.5696 GB, free: 7.523 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches