Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008727/0.0008726, allocations: 183 kB / 18.09 MB, free: 3.621 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.293/1.293, allocations: 223.3 MB / 242.1 MB, free: 11.61 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.0007906/0.0007904, allocations: 93.75 kB / 293.3 MB, free: 10.78 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.3337/0.3337, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3085, allocations: 61.88 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4188, allocations: 89.14 MB / 0.5978 GB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4191, allocations: 79.95 kB / 0.5979 GB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.4341, allocations: 5.431 MB / 0.6032 GB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4341, allocations: 0 / 0.6032 GB, free: 436 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4342, allocations: 0 / 0.6032 GB, free: 436 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.0005332/0.4347, allocations: 411 kB / 0.6036 GB, free: 15.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4348, allocations: 12.03 kB / 0.6036 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.4348, allocations: 8.844 kB / 0.6036 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4351, allocations: 221.2 kB / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4351, allocations: 4.375 kB / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4352, allocations: 384 / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4353, allocations: 50.23 kB / 0.6038 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4353, allocations: 4.125 kB / 0.6038 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4353, allocations: 3.938 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4353, allocations: 0 / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/0.4354, allocations: 19.92 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.4356, allocations: 185.6 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.4358, allocations: 62.55 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.4359, allocations: 20.84 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.4359, allocations: 0 / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.436, allocations: 67.39 kB / 0.6042 GB, free: 15.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.886e-06/0.436, allocations: 4 kB / 0.6042 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002882/0.4363, allocations: 101.5 kB / 0.6043 GB, free: 15.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4364, allocations: 55.39 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4366, allocations: 180 kB / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.4366, allocations: 29.69 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.4367, allocations: 96.14 kB / 0.6046 GB, free: 14.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.4367, allocations: 19.8 kB / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.4367, allocations: 0 / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4369, allocations: 318.8 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.4369, allocations: 15.98 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.437, allocations: 37.69 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.212e-05/0.4371, allocations: 49.64 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4371, allocations: 0 / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.4372, allocations: 77.53 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4373, allocations: 15.97 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4373, allocations: 0 / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4373, allocations: 0 / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.4374, allocations: 11.98 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4374, allocations: 0 / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.4374, allocations: 8.25 kB / 0.6052 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4375, allocations: 8 kB / 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 9.529e-05/0.4376, allocations: 121.8 kB / 0.6053 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4376, allocations: 11.84 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.4378, allocations: 101.9 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4378, allocations: 3.984 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4378, allocations: 0 / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4378, allocations: 0 / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.438, allocations: 193.5 kB / 0.6056 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.438, allocations: 0 / 0.6056 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.438, allocations: 12 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.438, allocations: 3.938 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.438, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.438, allocations: 3.938 kB / 0.6056 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.438, allocations: 7.938 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.4382, allocations: 113 kB / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.4383, allocations: 96.98 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4383, allocations: 7.938 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.4384, allocations: 4 kB / 0.6058 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.4384, allocations: 3.984 kB / 0.6058 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4384, allocations: 4 kB / 0.6058 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.4385, allocations: 148 kB / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4385, allocations: 0 / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.4388, allocations: 23.94 kB / 0.606 GB, free: 13.2 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.001127/0.4399, allocations: 415.5 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.4401, allocations: 39.92 kB / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4401, allocations: 0 / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.4401, allocations: 27.98 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4404, allocations: 36.58 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.0004203/0.4408, allocations: 213.1 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.4411, allocations: 0.7004 MB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.4412, allocations: 14.83 kB / 0.6074 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.4412, allocations: 15.42 kB / 0.6074 GB, free: 11.85 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4412, allocations: 0 / 0.6074 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Templates: time 0.003675/0.4449, allocations: 1.482 MB / 0.6089 GB, free: 10.39 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches