Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009759, allocations: 91.45 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3321/0.3321, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 61.88 MB / 0.5107 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4621, allocations: 89.13 MB / 0.5978 GB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4624, allocations: 79.94 kB / 0.5979 GB, free: 5.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.4772, allocations: 5.431 MB / 0.6032 GB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4772, allocations: 0 / 0.6032 GB, free: 424 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.4772, allocations: 4 kB / 0.6032 GB, free: 420 kB / 410.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.0005388/0.4778, allocations: 411 kB / 0.6036 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4778, allocations: 8.031 kB / 0.6036 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4779, allocations: 8.844 kB / 0.6036 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.4782, allocations: 217.2 kB / 0.6038 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4782, allocations: 4.375 kB / 0.6038 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.4782, allocations: 4.375 kB / 0.6038 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.4784, allocations: 46.23 kB / 0.6038 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4784, allocations: 192 / 0.6038 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4784, allocations: 7.938 kB / 0.6038 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4784, allocations: 3.938 kB / 0.6038 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.4785, allocations: 19.92 kB / 0.6039 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.4787, allocations: 181.6 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.4789, allocations: 62.61 kB / 0.6041 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.479, allocations: 24.78 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.479, allocations: 0 / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.4791, allocations: 67.33 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.4791, allocations: 0 / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002908/0.4794, allocations: 101.5 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4795, allocations: 55.39 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.4797, allocations: 184 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4797, allocations: 25.7 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.4797, allocations: 104.1 kB / 0.6046 GB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.4798, allocations: 11.8 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4798, allocations: 0 / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4799, allocations: 322.8 kB / 0.6049 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.48, allocations: 19.98 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.48, allocations: 33.64 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.4801, allocations: 41.7 kB / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4801, allocations: 0 / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.4803, allocations: 81.53 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4803, allocations: 7.938 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4803, allocations: 0 / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4804, allocations: 8.031 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.4804, allocations: 11.98 kB / 0.6051 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4805, allocations: 0 / 0.6051 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.4805, allocations: 11.94 kB / 0.6052 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4805, allocations: 0 / 0.6052 GB, free: 14.14 MB / 426.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 () * Number of clocked 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 0.0001086/0.4806, allocations: 127.9 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.4807, allocations: 12.16 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.4809, allocations: 101.9 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4809, allocations: 8 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4809, allocations: 0 / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4809, allocations: 3.984 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.481, allocations: 193.5 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.481, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.4811, allocations: 4 kB / 0.6056 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4811, allocations: 3.938 kB / 0.6056 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4811, allocations: 4 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4811, allocations: 0 / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4811, allocations: 3.938 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.4813, allocations: 117 kB / 0.6057 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.4814, allocations: 96.94 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4814, allocations: 7.938 kB / 0.6058 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.4815, allocations: 0 / 0.6058 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.4815, allocations: 7.984 kB / 0.6058 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4815, allocations: 0 / 0.6058 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4816, allocations: 148 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4816, allocations: 4 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.4819, allocations: 27.94 kB / 0.606 GB, free: 13.18 MB / 426.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) * Number of clocked states: 0 () * 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.0008791/0.4827, allocations: 403.3 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.4829, allocations: 47.92 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4829, allocations: 3.938 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.483, allocations: 19.98 kB / 0.6064 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4832, allocations: 31.97 kB / 0.6065 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.4837, allocations: 221.1 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.484, allocations: 0.7082 MB / 0.6074 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.4841, allocations: 14.81 kB / 0.6074 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4841, allocations: 19.42 kB / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4841, allocations: 0 / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of Templates: time 0.003737/0.4879, allocations: 1.476 MB / 0.6088 GB, free: 10.37 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches