Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 118.6 kB / 17.83 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 197.9 kB / 18.78 MB, free: 4.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.722/1.722, allocations: 230.2 MB / 249.8 MB, free: 9.266 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2548/0.2548, allocations: 46.9 MB / 350.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003345/0.003345, allocations: 83.86 kB / 494.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.455, allocations: 65.98 MB / 0.5477 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004062/0.459, allocations: 1.84 MB / 0.5495 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.4621, allocations: 1.707 MB / 0.5512 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.4622, allocations: 0 / 0.5512 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.4626, allocations: 55.69 kB / 0.5512 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.463, allocations: 143.3 kB / 0.5513 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.4632, allocations: 95.7 kB / 0.5514 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.4636, allocations: 207.3 kB / 0.5516 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.4636, allocations: 13.69 kB / 0.5516 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.4638, allocations: 79.69 kB / 0.5517 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.464, allocations: 87.53 kB / 0.5518 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.464, allocations: 12 kB / 0.5518 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.4643, allocations: 111.9 kB / 0.5519 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.4643, allocations: 43.83 kB / 0.552 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.4644, allocations: 59.59 kB / 0.552 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.4648, allocations: 231.6 kB / 0.5522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4648, allocations: 0 / 0.5522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4648, allocations: 0 / 0.5522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4648, allocations: 0 / 0.5522 GB, free: 1.258 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007963/0.4656, allocations: 0.498 MB / 0.5527 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4656, allocations: 12.03 kB / 0.5527 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.4657, allocations: 16.84 kB / 0.5528 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.4661, allocations: 249.1 kB / 0.553 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4661, allocations: 12.31 kB / 0.553 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.4661, allocations: 12.11 kB / 0.553 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.4664, allocations: 101.1 kB / 0.5531 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4664, allocations: 0 / 0.5531 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4664, allocations: 0 / 0.5531 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4664, allocations: 4 kB / 0.5531 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4665, allocations: 31.86 kB / 0.5531 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.4668, allocations: 222.5 kB / 0.5534 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.4671, allocations: 105.2 kB / 0.5535 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.4671, allocations: 37.64 kB / 0.5535 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4672, allocations: 8 kB / 0.5535 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.4674, allocations: 105 kB / 0.5536 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4674, allocations: 0 / 0.5536 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005487/0.468, allocations: 169.4 kB / 0.5538 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4681, allocations: 136.5 kB / 0.5539 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.4684, allocations: 244.1 kB / 0.5541 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4684, allocations: 33.7 kB / 0.5542 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.4685, allocations: 112.1 kB / 0.5543 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.4686, allocations: 27.81 kB / 0.5543 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.4686, allocations: 29.7 kB / 0.5543 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4688, allocations: 326.8 kB / 0.5546 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.4689, allocations: 35.97 kB / 0.5547 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.469, allocations: 69.64 kB / 0.5547 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4692, allocations: 95.39 kB / 0.5548 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4692, allocations: 0 / 0.5548 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000303/0.4695, allocations: 137.4 kB / 0.555 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4696, allocations: 8 kB / 0.555 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4696, allocations: 0 / 0.555 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4696, allocations: 0 / 0.555 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4697, allocations: 27.92 kB / 0.555 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4697, allocations: 0 / 0.555 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.4698, allocations: 15.89 kB / 0.555 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4698, allocations: 8.062 kB / 0.555 GB, free: 14.11 MB / 414.1 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.0001476/0.47, allocations: 133.8 kB / 0.5551 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.47, allocations: 15.91 kB / 0.5552 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.4701, allocations: 24.98 kB / 0.5552 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4701, allocations: 0 / 0.5552 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.4701, allocations: 4 kB / 0.5552 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4701, allocations: 0 / 0.5552 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4703, allocations: 229.4 kB / 0.5554 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4703, allocations: 3.984 kB / 0.5554 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.4704, allocations: 12 kB / 0.5554 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4704, allocations: 3.938 kB / 0.5554 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4704, allocations: 4 kB / 0.5554 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.4704, allocations: 4.125 kB / 0.5554 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4704, allocations: 0 / 0.5554 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.4708, allocations: 185.6 kB / 0.5556 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.4708, allocations: 93.02 kB / 0.5557 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4709, allocations: 4 kB / 0.5557 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.4709, allocations: 7.984 kB / 0.5557 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.471, allocations: 4 kB / 0.5557 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.471, allocations: 15.98 kB / 0.5557 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.4712, allocations: 169.8 kB / 0.5559 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4712, allocations: 0 / 0.5559 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.4715, allocations: 59.86 kB / 0.5559 GB, free: 13.05 MB / 414.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: 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.00187/0.4734, allocations: 497.3 kB / 0.5564 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.4737, allocations: 79.84 kB / 0.5565 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4737, allocations: 0 / 0.5565 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4738, allocations: 35.98 kB / 0.5565 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4741, allocations: 63.25 kB / 0.5566 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.4747, allocations: 283.6 kB / 0.5569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4751, allocations: 0.7204 MB / 0.5576 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.314e-05/0.4752, allocations: 34.02 kB / 0.5576 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.4753, allocations: 27.42 kB / 0.5576 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4753, allocations: 0 / 0.5576 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.007552/0.4828, allocations: 3.143 MB / 0.5607 GB, free: 8.316 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches