Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.448/1.448, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009576/0.0009576, allocations: 95.47 kB / 291.9 MB, free: 10.94 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.3702/0.3702, allocations: 44.12 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 51.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.439, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003463/0.4426, allocations: 1.845 MB / 0.5082 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.4448, allocations: 1.531 MB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.4449, allocations: 10.53 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.4453, allocations: 50.61 kB / 0.5097 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.4456, allocations: 73.67 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.4459, allocations: 152.9 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.4461, allocations: 169.2 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.4462, allocations: 13.97 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4463, allocations: 76.31 kB / 0.5102 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.4465, allocations: 72.3 kB / 0.5103 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4465, allocations: 2.906 kB / 0.5103 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4467, allocations: 61.25 kB / 0.5103 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.4467, allocations: 31.2 kB / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.4468, allocations: 53.42 kB / 0.5104 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.4471, allocations: 167.3 kB / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4471, allocations: 3.875 kB / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4471, allocations: 0 / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.4471, allocations: 0 / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006557/0.4478, allocations: 473.1 kB / 0.511 GB, free: 35.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4478, allocations: 11.83 kB / 0.511 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.4479, allocations: 16.22 kB / 0.5111 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4481, allocations: 237.5 kB / 0.5113 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4482, allocations: 7.312 kB / 0.5113 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.4482, allocations: 7 kB / 0.5113 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4484, allocations: 103.9 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4484, allocations: 0 / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4484, allocations: 0 / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4484, allocations: 2.781 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.4486, allocations: 30.17 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.4488, allocations: 213.5 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.449, allocations: 111.8 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.4491, allocations: 44.27 kB / 0.5118 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.4492, allocations: 0 / 0.5118 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.4494, allocations: 109.4 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4494, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004054/0.4499, allocations: 164.2 kB / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.4499, allocations: 131.4 kB / 0.5122 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.4501, allocations: 213.4 kB / 0.5124 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4501, allocations: 35.86 kB / 0.5124 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.4502, allocations: 113 kB / 0.5125 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.4502, allocations: 25.78 kB / 0.5125 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.4503, allocations: 29.28 kB / 0.5126 GB, free: 33.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.4504, allocations: 324.2 kB / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.4505, allocations: 28.47 kB / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/0.4506, allocations: 76 kB / 0.513 GB, free: 33.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4507, allocations: 95.83 kB / 0.5131 GB, free: 33.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4507, allocations: 0 / 0.5131 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002468/0.451, allocations: 140.2 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.451, allocations: 9.875 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.451, allocations: 2.875 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.451, allocations: 0 / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4512, allocations: 22.88 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4512, allocations: 0 / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.4513, allocations: 13.72 kB / 0.5133 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4513, allocations: 2.938 kB / 0.5133 GB, free: 33.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.4515, allocations: 141 kB / 0.5134 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4515, allocations: 24.38 kB / 0.5134 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.4516, allocations: 18.05 kB / 0.5134 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.4516, allocations: 2.875 kB / 0.5134 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4516, allocations: 3.984 kB / 0.5134 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4516, allocations: 0 / 0.5134 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.4518, allocations: 219.3 kB / 0.5136 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4518, allocations: 2.969 kB / 0.5136 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.4519, allocations: 5.938 kB / 0.5137 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4519, allocations: 0 / 0.5137 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.4519, allocations: 14.25 kB / 0.5137 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4519, allocations: 0 / 0.5137 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4519, allocations: 10.78 kB / 0.5137 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.4526, allocations: 0.7641 MB / 0.5144 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4527, allocations: 87.48 kB / 0.5145 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.4527, allocations: 6.625 kB / 0.5145 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.4528, allocations: 13.28 kB / 0.5145 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4529, allocations: 9.125 kB / 0.5145 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.4529, allocations: 8.312 kB / 0.5145 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4531, allocations: 157.7 kB / 0.5147 GB, free: 31.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4531, allocations: 0 / 0.5147 GB, free: 31.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.4535, allocations: 34.11 kB / 0.5147 GB, free: 31.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.4547, allocations: 471.7 kB / 0.5152 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.455, allocations: 82.48 kB / 0.5153 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.455, allocations: 0 / 0.5153 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4551, allocations: 37.17 kB / 0.5153 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4555, allocations: 62.55 kB / 0.5153 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.4561, allocations: 427.5 kB / 0.5158 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4563, allocations: 0.7181 MB / 0.5165 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.4564, allocations: 30.92 kB / 0.5165 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.4564, allocations: 25.12 kB / 0.5165 GB, free: 30.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4564, allocations: 0 / 0.5165 GB, free: 30.53 MB / 378.7 MB Notification: Performance of Templates: time 0.005655/0.4621, allocations: 2.601 MB / 0.5191 GB, free: 30.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches