Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 79.88 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4496, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003379/0.4531, allocations: 1.731 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.4556, allocations: 1.622 MB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.4557, allocations: 5.312 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.4561, allocations: 37.45 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.4565, allocations: 99.03 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.4567, allocations: 82.75 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4569, allocations: 98.98 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.457, allocations: 14.89 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.4572, allocations: 45.06 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.4573, allocations: 46.12 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4574, allocations: 5.062 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.4576, allocations: 115.5 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.4577, allocations: 25 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.4577, allocations: 31.73 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.4581, allocations: 166.6 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4581, allocations: 8 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4581, allocations: 1.062 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.4581, allocations: 0 / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006827/0.4588, allocations: 424.6 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4589, allocations: 8.969 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.4589, allocations: 9.25 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.4594, allocations: 219 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4594, allocations: 5.188 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.4595, allocations: 10.17 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.4597, allocations: 70.12 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4597, allocations: 1.188 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4597, allocations: 3.938 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4597, allocations: 1.125 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.4598, allocations: 26.27 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.4603, allocations: 286 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4605, allocations: 57.45 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.4606, allocations: 25.22 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.4606, allocations: 1.125 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.4608, allocations: 65.86 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4608, allocations: 4 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.4614, allocations: 173.3 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.4615, allocations: 82.39 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4617, allocations: 162.8 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4617, allocations: 34.92 kB / 0.5367 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.4618, allocations: 96.08 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.4618, allocations: 27.69 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.4619, allocations: 24.56 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.462, allocations: 325.1 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.4621, allocations: 19.02 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.4621, allocations: 45.88 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.4623, allocations: 58.7 kB / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.4623, allocations: 0 / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.4625, allocations: 100.4 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4625, allocations: 5.031 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4625, allocations: 0 / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4625, allocations: 1 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.4626, allocations: 21.17 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4626, allocations: 4.844 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.4627, allocations: 2.281 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.4627, allocations: 3.156 kB / 0.5374 GB, free: 8.301 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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.0001018/0.4628, allocations: 124.3 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.4629, allocations: 17.47 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.4629, allocations: 11.81 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4629, allocations: 1 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4629, allocations: 5.062 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4629, allocations: 0 / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4634, allocations: 392.1 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4634, allocations: 1.688 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.4634, allocations: 19.42 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4634, allocations: 8.906 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4634, allocations: 6.125 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4634, allocations: 1.125 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4635, allocations: 0 / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.4637, allocations: 196.1 kB / 0.5381 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.4637, allocations: 92.78 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.4638, allocations: 5.281 kB / 0.5382 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.4638, allocations: 10.25 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4639, allocations: 7.297 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4639, allocations: 3.938 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.464, allocations: 127 kB / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.464, allocations: 0 / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.4644, allocations: 49.8 kB / 0.5384 GB, free: 7.34 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001276/0.4656, allocations: 0.5417 MB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4659, allocations: 53.95 kB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4659, allocations: 5.312 kB / 0.539 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.466, allocations: 29.33 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4663, allocations: 40.97 kB / 0.5391 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.4667, allocations: 195.2 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.467, allocations: 0.7024 MB / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.4671, allocations: 19.2 kB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.4672, allocations: 25.7 kB / 0.54 GB, free: 6.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4672, allocations: 0 / 0.54 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Templates: time 0.006035/0.4732, allocations: 2.358 MB / 0.5423 GB, free: 4.879 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches