Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, 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.495/1.495, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 110.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4223/0.4223, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4398, allocations: 62.01 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003338/0.4432, allocations: 1.813 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4448, allocations: 1.025 MB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.4449, allocations: 7.031 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.4453, allocations: 45.19 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.4455, allocations: 80.5 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.4458, allocations: 97.25 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.4459, allocations: 119.9 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.446, allocations: 23.7 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.4461, allocations: 53.03 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.4462, allocations: 52.67 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.4462, allocations: 2.875 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4463, allocations: 56.08 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.4464, allocations: 23.47 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.4465, allocations: 46.55 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.4467, allocations: 153.4 kB / 0.5187 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4467, allocations: 0 / 0.5187 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4467, allocations: 0 / 0.5187 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4467, allocations: 0 / 0.5187 GB, free: 35.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005752/0.4473, allocations: 432.3 kB / 0.5191 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4473, allocations: 8.781 kB / 0.5191 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.4474, allocations: 17.44 kB / 0.5191 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4476, allocations: 222.8 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4476, allocations: 11.02 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4476, allocations: 7.969 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4478, allocations: 72.06 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4478, allocations: 0 / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4479, allocations: 7.234 kB / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4479, allocations: 3.984 kB / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.448, allocations: 37.98 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.4483, allocations: 327.4 kB / 0.5198 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.4486, allocations: 82.06 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.4487, allocations: 32.12 kB / 0.5199 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.4487, allocations: 3.984 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.4489, allocations: 88.5 kB / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4489, allocations: 0 / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007344/0.4497, allocations: 289.9 kB / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4497, allocations: 63.28 kB / 0.5203 GB, free: 34.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4499, allocations: 192.9 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4499, allocations: 28.61 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.4499, allocations: 106.5 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.45, allocations: 43.2 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.45, allocations: 29.52 kB / 0.5207 GB, free: 33.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.4501, allocations: 330.5 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.4501, allocations: 36.53 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.4502, allocations: 57.8 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4504, allocations: 102.2 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4504, allocations: 4 kB / 0.5212 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002135/0.4506, allocations: 156.6 kB / 0.5213 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4506, allocations: 5.312 kB / 0.5213 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4506, allocations: 3.938 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4507, allocations: 0 / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.4507, allocations: 28.59 kB / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4508, allocations: 3.938 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.4508, allocations: 13.88 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4508, allocations: 6.406 kB / 0.5214 GB, free: 33.34 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 (15): * Single equations (assignments): 15 * 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 7.612e-05/0.4509, allocations: 128.2 kB / 0.5215 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4509, allocations: 13.25 kB / 0.5215 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.451, allocations: 29.06 kB / 0.5215 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.451, allocations: 0 / 0.5215 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.451, allocations: 3.938 kB / 0.5216 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.451, allocations: 0 / 0.5216 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.4515, allocations: 494.8 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4515, allocations: 4.062 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.4516, allocations: 23.45 kB / 0.5221 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4516, allocations: 2.938 kB / 0.5221 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4516, allocations: 4 kB / 0.5221 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4516, allocations: 6.406 kB / 0.5221 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4516, allocations: 0 / 0.5221 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.4521, allocations: 0.8633 MB / 0.5229 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.4521, allocations: 90.33 kB / 0.523 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4521, allocations: 0 / 0.523 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.4522, allocations: 10.62 kB / 0.523 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4523, allocations: 12.64 kB / 0.523 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.4523, allocations: 8.641 kB / 0.523 GB, free: 31.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4524, allocations: 144.1 kB / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4524, allocations: 4 kB / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.4528, allocations: 34.98 kB / 0.5232 GB, free: 31.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001156/0.454, allocations: 0.4943 MB / 0.5237 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.4542, allocations: 99.28 kB / 0.5238 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4542, allocations: 2.938 kB / 0.5238 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.4543, allocations: 51.7 kB / 0.5238 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4547, allocations: 38.67 kB / 0.5239 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.4554, allocations: 458.2 kB / 0.5243 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.4556, allocations: 0.7183 MB / 0.525 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.071e-05/0.4557, allocations: 32.91 kB / 0.525 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.4557, allocations: 24.06 kB / 0.5251 GB, free: 30.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4557, allocations: 0 / 0.5251 GB, free: 30.36 MB / 378.7 MB Notification: Performance of Templates: time 0.004755/0.4605, allocations: 2.131 MB / 0.5271 GB, free: 30.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches