Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 177 kB / 17.06 MB, free: 5.094 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.314/1.314, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008706/0.0008705, allocations: 90.94 kB / 292.1 MB, free: 10.96 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.3122/0.3122, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 12 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3373, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4565, allocations: 90.2 MB / 0.5977 GB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4568, allocations: 75.94 kB / 0.5977 GB, free: 4.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.469, allocations: 4.41 MB / 0.602 GB, free: 488 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4691, allocations: 0 / 0.602 GB, free: 488 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4691, allocations: 4 kB / 0.602 GB, free: 484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007128/0.4698, allocations: 488.4 kB / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4699, allocations: 12.03 kB / 0.6025 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.4699, allocations: 11.81 kB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4703, allocations: 225.1 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.4703, allocations: 15.89 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.4704, allocations: 7.984 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.4707, allocations: 114.3 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4707, allocations: 0 / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4707, allocations: 0 / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4707, allocations: 4 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.4709, allocations: 55.91 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.4715, allocations: 0.5204 MB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.4719, allocations: 90.66 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4719, allocations: 3.984 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.4721, allocations: 87.31 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.497e-06/0.4721, allocations: 0 / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000415/0.4725, allocations: 161.3 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.4726, allocations: 59.39 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.4728, allocations: 170.6 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4728, allocations: 25.7 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.4729, allocations: 119.9 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.4729, allocations: 31.78 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4729, allocations: 0 / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4731, allocations: 334.8 kB / 0.6045 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.4732, allocations: 31.98 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4733, allocations: 60.27 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.4734, allocations: 43.92 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4734, allocations: 4 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.4736, allocations: 141.3 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4737, allocations: 5.531 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4737, allocations: 4 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4737, allocations: 4 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4738, allocations: 23.98 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4738, allocations: 0 / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.4739, allocations: 19.89 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.4739, allocations: 4 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.474, allocations: 134.2 kB / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.4741, allocations: 15.91 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.4744, allocations: 135.4 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4744, allocations: 3.984 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4744, allocations: 4 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4744, allocations: 0 / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.4746, allocations: 217.5 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4746, allocations: 0 / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.4747, allocations: 19.98 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4747, allocations: 4 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4747, allocations: 0 / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4747, allocations: 4 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4747, allocations: 0 / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.4751, allocations: 200.8 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.4752, allocations: 92.98 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4752, allocations: 7.984 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.4753, allocations: 4 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4753, allocations: 11.92 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4753, allocations: 4 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4755, allocations: 141.2 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4755, allocations: 0 / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.4757, allocations: 36.06 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009062/0.4766, allocations: 427.4 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.4769, allocations: 83.89 kB / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4769, allocations: 3.938 kB / 0.6063 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.477, allocations: 48.22 kB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4773, allocations: 32.31 kB / 0.6064 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.4778, allocations: 305.8 kB / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4781, allocations: 0.7204 MB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.4782, allocations: 21.05 kB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4782, allocations: 19.44 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4782, allocations: 0 / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004432/0.4827, allocations: 1.792 MB / 0.6091 GB, free: 8.953 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches