Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009801/0.0009802, allocations: 185.1 kB / 17.06 MB, free: 5.07 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.297/1.297, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008669/0.0008669, allocations: 92.39 kB / 292.1 MB, free: 10.71 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.3749/0.3749, allocations: 44.22 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3142, allocations: 61.91 MB / 0.5096 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.4325, allocations: 89.12 MB / 0.5966 GB, free: 6.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4329, allocations: 75.94 kB / 0.5967 GB, free: 5.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.4484, allocations: 5.741 MB / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4485, allocations: 0 / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.4485, allocations: 4 kB / 0.6023 GB, free: 196 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.0006083/0.4492, allocations: 430.7 kB / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4492, allocations: 11.97 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.4493, allocations: 15.81 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.4496, allocations: 222.8 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4496, allocations: 0 / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4497, allocations: 11.95 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.4498, allocations: 45.67 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4498, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4498, allocations: 7.984 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4499, allocations: 0 / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.4499, allocations: 15.98 kB / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.4502, allocations: 197.6 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4504, allocations: 54.56 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4504, allocations: 4.078 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.4506, allocations: 71.34 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.4506, allocations: 0 / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003138/0.4509, allocations: 109.4 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.451, allocations: 55.41 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.4513, allocations: 239.2 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4513, allocations: 25.7 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.4514, allocations: 112.1 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.4514, allocations: 11.91 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.4514, allocations: 0 / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4516, allocations: 326.8 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.4516, allocations: 12 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.4517, allocations: 37.69 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.4518, allocations: 16 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4518, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.4519, allocations: 93.42 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.452, allocations: 4 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.452, allocations: 7.953 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.452, allocations: 0 / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.4521, allocations: 8 kB / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4521, allocations: 7.922 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.4522, allocations: 8.031 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4522, allocations: 4 kB / 0.6044 GB, free: 13.85 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.0001238/0.4523, allocations: 134.3 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4524, allocations: 15.81 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.4526, allocations: 98.66 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4526, allocations: 7.953 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4526, allocations: 0 / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4526, allocations: 0 / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4528, allocations: 201.6 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4528, allocations: 4 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.4528, allocations: 7.938 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4529, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4529, allocations: 3.984 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4529, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4529, allocations: 8.266 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.4531, allocations: 120.9 kB / 0.6049 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.4532, allocations: 100.9 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4532, allocations: 7.984 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.4532, allocations: 0 / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.4533, allocations: 7.953 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4533, allocations: 0 / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.4535, allocations: 196.5 kB / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4535, allocations: 0 / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.4537, allocations: 28 kB / 0.6053 GB, free: 12.82 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.001004/0.4547, allocations: 428.1 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.4549, allocations: 43.98 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4549, allocations: 0 / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.455, allocations: 27.92 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.4553, allocations: 19.98 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.4558, allocations: 297.4 kB / 0.606 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4562, allocations: 0.7199 MB / 0.6067 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.4562, allocations: 28.34 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.4563, allocations: 19.44 kB / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4563, allocations: 0 / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of Templates: time 0.004184/0.4605, allocations: 1.598 MB / 0.6083 GB, free: 9.773 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches