Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, 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.41/1.41, allocations: 222.9 MB / 241.6 MB, free: 11.02 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.001034/0.001034, allocations: 105.9 kB / 291.9 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.4294/0.4294, allocations: 44.12 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.92 kB / 457.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4605, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003137/0.4637, allocations: 1.752 MB / 0.5081 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4655, allocations: 1.458 MB / 0.5095 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.4656, allocations: 4 kB / 0.5095 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.4659, allocations: 29.05 kB / 0.5096 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.4661, allocations: 48.67 kB / 0.5096 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.4664, allocations: 95.19 kB / 0.5097 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.4666, allocations: 104.4 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.4667, allocations: 9.609 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.4667, allocations: 40.86 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.4669, allocations: 46.5 kB / 0.5099 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.4669, allocations: 2.406 kB / 0.5099 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.467, allocations: 59.19 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.4671, allocations: 17.05 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.4671, allocations: 30.88 kB / 0.51 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.4674, allocations: 131.9 kB / 0.5101 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4674, allocations: 0 / 0.5101 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4674, allocations: 0 / 0.5101 GB, free: 35.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4674, allocations: 0 / 0.5101 GB, free: 35.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000512/0.4679, allocations: 416.8 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4679, allocations: 10.81 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.468, allocations: 10.69 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4682, allocations: 213.6 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4682, allocations: 7 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4683, allocations: 7.938 kB / 0.5108 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.4684, allocations: 74.69 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4685, allocations: 3.062 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4685, allocations: 4 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4685, allocations: 0 / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.4686, allocations: 32.66 kB / 0.5109 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.4689, allocations: 301 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4691, allocations: 69.16 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.4692, allocations: 28.55 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.4692, allocations: 6.25 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.4694, allocations: 68.5 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.4694, allocations: 2.938 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005129/0.4699, allocations: 192.5 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.47, allocations: 83.89 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4701, allocations: 161.5 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4701, allocations: 25.7 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.4701, allocations: 106.3 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4702, allocations: 28.78 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.4702, allocations: 22.34 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.4703, allocations: 325 kB / 0.5122 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.4703, allocations: 25.67 kB / 0.5123 GB, free: 33.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.4704, allocations: 51.58 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4705, allocations: 68.5 kB / 0.5124 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4705, allocations: 0 / 0.5124 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002004/0.4708, allocations: 117.4 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4708, allocations: 5.812 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4708, allocations: 0 / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4708, allocations: 3.938 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4709, allocations: 17.62 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.471, allocations: 6.781 kB / 0.5125 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.471, allocations: 6.625 kB / 0.5125 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.471, allocations: 2.438 kB / 0.5125 GB, free: 33.64 MB / 378.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 ($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 (11): * Single equations (assignments): 11 * 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.0001049/0.4711, allocations: 124.6 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.4712, allocations: 9.156 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.4712, allocations: 24.58 kB / 0.5127 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4712, allocations: 6.375 kB / 0.5127 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4712, allocations: 0 / 0.5127 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4713, allocations: 4 kB / 0.5127 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.4717, allocations: 417.4 kB / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4717, allocations: 2.781 kB / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.4717, allocations: 11.86 kB / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4717, allocations: 0 / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4717, allocations: 3.031 kB / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4717, allocations: 0 / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4717, allocations: 0 / 0.5131 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.4722, allocations: 0.7995 MB / 0.5139 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.4722, allocations: 83.73 kB / 0.514 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4723, allocations: 10.14 kB / 0.514 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.4723, allocations: 2.594 kB / 0.514 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4724, allocations: 21.69 kB / 0.514 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4724, allocations: 5.5 kB / 0.514 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.4725, allocations: 119.7 kB / 0.5141 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4725, allocations: 0 / 0.5141 GB, free: 32.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000366/0.4729, allocations: 34.11 kB / 0.5141 GB, free: 32.14 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: 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001117/0.474, allocations: 0.4936 MB / 0.5146 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4742, allocations: 68.08 kB / 0.5147 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4742, allocations: 0 / 0.5147 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.4743, allocations: 40.02 kB / 0.5147 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4746, allocations: 38.53 kB / 0.5148 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.4751, allocations: 361.2 kB / 0.5151 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4753, allocations: 0.7053 MB / 0.5158 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.368e-05/0.4754, allocations: 15.25 kB / 0.5158 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.4754, allocations: 22.22 kB / 0.5158 GB, free: 30.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4755, allocations: 4 kB / 0.5158 GB, free: 30.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004965/0.4804, allocations: 2.017 MB / 0.5178 GB, free: 30.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches