Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 183 kB / 18.08 MB, free: 3.637 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.236/1.236, allocations: 223.3 MB / 242.1 MB, free: 9.996 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.0007237/0.0007237, allocations: 92.41 kB / 293.3 MB, free: 10.57 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.2957/0.2957, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 15.98 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3039, allocations: 61.88 MB / 0.5107 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4151, allocations: 90.23 MB / 0.5988 GB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4154, allocations: 83.94 kB / 0.5989 GB, free: 4.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01163/0.427, allocations: 4.402 MB / 0.6032 GB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4271, allocations: 0 / 0.6032 GB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4271, allocations: 0 / 0.6032 GB, free: 384 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.0006473/0.4278, allocations: 488.7 kB / 0.6037 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4278, allocations: 8.031 kB / 0.6037 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.4279, allocations: 20.75 kB / 0.6037 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.4282, allocations: 238.2 kB / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4282, allocations: 4.359 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.4283, allocations: 12.38 kB / 0.604 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4285, allocations: 104.8 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4285, allocations: 4.188 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4286, allocations: 7.938 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4286, allocations: 0 / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.4287, allocations: 55.91 kB / 0.6041 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.4294, allocations: 0.5242 MB / 0.6046 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.4297, allocations: 94.66 kB / 0.6047 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.4298, allocations: 36.84 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.4298, allocations: 0 / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.43, allocations: 99.23 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.43, allocations: 3.938 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003786/0.4304, allocations: 145.5 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.4305, allocations: 55.41 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.4306, allocations: 187.4 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4307, allocations: 37.7 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4307, allocations: 112 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.4308, allocations: 27.64 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.4308, allocations: 4 kB / 0.6054 GB, free: 13.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4309, allocations: 326.8 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.431, allocations: 35.97 kB / 0.6058 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4311, allocations: 74.97 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4313, allocations: 104.2 kB / 0.6059 GB, free: 13.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4313, allocations: 0 / 0.6059 GB, free: 13.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002614/0.4316, allocations: 137.3 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4316, allocations: 4 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4316, allocations: 4.469 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4316, allocations: 3.984 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.4318, allocations: 28.12 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4318, allocations: 11.92 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.4318, allocations: 11.89 kB / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4319, allocations: 11.88 kB / 0.6061 GB, free: 13.12 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 9.616e-05/0.432, allocations: 128 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.432, allocations: 15.89 kB / 0.6063 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.4323, allocations: 139 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4323, allocations: 4 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4323, allocations: 0 / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4323, allocations: 0 / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.4325, allocations: 213.5 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4325, allocations: 3.984 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.4326, allocations: 12 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4326, allocations: 3.938 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4326, allocations: 4 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4326, allocations: 4 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4326, allocations: 0 / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.433, allocations: 204.7 kB / 0.6068 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.4331, allocations: 93.03 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4331, allocations: 4 kB / 0.6069 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.4332, allocations: 12.06 kB / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4332, allocations: 11.98 kB / 0.6069 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4333, allocations: 0 / 0.6069 GB, free: 12.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4334, allocations: 149.1 kB / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4334, allocations: 0 / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.4336, allocations: 39.95 kB / 0.6071 GB, free: 12.01 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.0008661/0.4345, allocations: 420.6 kB / 0.6075 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4348, allocations: 87.83 kB / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4348, allocations: 0 / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4349, allocations: 43.98 kB / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.4352, allocations: 28.22 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.4357, allocations: 302.2 kB / 0.608 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.436, allocations: 0.7203 MB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.4361, allocations: 25.06 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4361, allocations: 19.44 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4361, allocations: 0 / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004448/0.4406, allocations: 1.807 MB / 0.6105 GB, free: 8.695 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches