Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 107.5 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3499/0.3499, allocations: 44.84 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4387, allocations: 62.02 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002965/0.4417, allocations: 1.883 MB / 0.517 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4434, allocations: 1.123 MB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.4435, allocations: 2.781 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.444, allocations: 290.3 kB / 0.5184 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.4444, allocations: 233.2 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.4447, allocations: 154.8 kB / 0.5187 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.445, allocations: 252.1 kB / 0.519 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.4451, allocations: 11.72 kB / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.4452, allocations: 122.1 kB / 0.5191 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.4454, allocations: 184.6 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.4455, allocations: 5.75 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4456, allocations: 44.86 kB / 0.5193 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.4457, allocations: 138.4 kB / 0.5195 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.4458, allocations: 141.5 kB / 0.5196 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.4462, allocations: 359.9 kB / 0.5199 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4462, allocations: 0 / 0.5199 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.4462, allocations: 0 / 0.5199 GB, free: 35.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4462, allocations: 0 / 0.5199 GB, free: 35.14 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.0008766/0.4471, allocations: 0.7337 MB / 0.5207 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4472, allocations: 10.94 kB / 0.5207 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.4473, allocations: 50.81 kB / 0.5207 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.4478, allocations: 439.4 kB / 0.5211 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4478, allocations: 6.969 kB / 0.5212 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.4478, allocations: 6.688 kB / 0.5212 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.448, allocations: 92.88 kB / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.448, allocations: 0 / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.448, allocations: 3.984 kB / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.448, allocations: 0 / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4482, allocations: 31.12 kB / 0.5213 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.4485, allocations: 385.7 kB / 0.5216 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.4488, allocations: 103.4 kB / 0.5217 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.4489, allocations: 49.92 kB / 0.5218 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4489, allocations: 0 / 0.5218 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.4491, allocations: 103.5 kB / 0.5219 GB, free: 33.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.4491, allocations: 0 / 0.5219 GB, free: 33.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004319/0.4496, allocations: 197.7 kB / 0.5221 GB, free: 33.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4496, allocations: 83.73 kB / 0.5222 GB, free: 33.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4507, allocations: 1.026 MB / 0.5232 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4507, allocations: 25.7 kB / 0.5232 GB, free: 33.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4508, allocations: 238.1 kB / 0.5234 GB, free: 32.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4509, allocations: 25.91 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.4509, allocations: 27.81 kB / 0.5235 GB, free: 32.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.451, allocations: 372.3 kB / 0.5238 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.4511, allocations: 30 kB / 0.5238 GB, free: 32.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.4512, allocations: 51.7 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4513, allocations: 93.22 kB / 0.524 GB, free: 32.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4513, allocations: 2.844 kB / 0.524 GB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002579/0.4516, allocations: 175 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4516, allocations: 5.812 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4516, allocations: 3.984 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4517, allocations: 2.938 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.4518, allocations: 23.28 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4518, allocations: 3.125 kB / 0.5242 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.4519, allocations: 9.625 kB / 0.5242 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4519, allocations: 2.875 kB / 0.5242 GB, free: 32.29 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0001821/0.4521, allocations: 232.7 kB / 0.5244 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.4522, allocations: 50.62 kB / 0.5245 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.4522, allocations: 59.64 kB / 0.5245 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4522, allocations: 2.5 kB / 0.5245 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4523, allocations: 0 / 0.5245 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4523, allocations: 3.938 kB / 0.5245 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.4525, allocations: 347.7 kB / 0.5249 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4525, allocations: 2.781 kB / 0.5249 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.4526, allocations: 5.406 kB / 0.5249 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4526, allocations: 0 / 0.5249 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4526, allocations: 13.81 kB / 0.5249 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4526, allocations: 2.562 kB / 0.5249 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4526, allocations: 0 / 0.5249 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.4532, allocations: 0.8742 MB / 0.5257 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4533, allocations: 142.8 kB / 0.5259 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.4534, allocations: 10.38 kB / 0.5259 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.4535, allocations: 5.75 kB / 0.5259 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4535, allocations: 11.97 kB / 0.5259 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4536, allocations: 2.688 kB / 0.5259 GB, free: 30.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006701/0.4542, allocations: 0.7663 MB / 0.5267 GB, free: 30.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4542, allocations: 6.562 kB / 0.5267 GB, free: 30.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.4546, allocations: 42.38 kB / 0.5267 GB, free: 30.65 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009114/0.4555, allocations: 416.8 kB / 0.5271 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.4558, allocations: 81.36 kB / 0.5272 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4558, allocations: 0 / 0.5272 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4559, allocations: 34.36 kB / 0.5272 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4563, allocations: 77 kB / 0.5273 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4576, allocations: 1.082 MB / 0.5283 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4579, allocations: 0.8459 MB / 0.5292 GB, free: 29.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.4581, allocations: 57.73 kB / 0.5292 GB, free: 29.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.4581, allocations: 27.72 kB / 0.5293 GB, free: 29.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4581, allocations: 0 / 0.5293 GB, free: 29.03 MB / 378.7 MB Notification: Performance of Templates: time 0.007754/0.4659, allocations: 3.666 MB / 0.5328 GB, free: 28.68 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches