Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.00218, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.89 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4493, allocations: 62.45 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004244/0.4536, allocations: 1.938 MB / 0.5329 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4556, allocations: 1.057 MB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4558, allocations: 6.469 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.4561, allocations: 45.55 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.4565, allocations: 98.25 kB / 0.5341 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.4567, allocations: 97.84 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.457, allocations: 145.9 kB / 0.5344 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.4572, allocations: 35.03 kB / 0.5344 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4573, allocations: 61.64 kB / 0.5344 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.4574, allocations: 48.03 kB / 0.5345 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.4575, allocations: 8.25 kB / 0.5345 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4576, allocations: 46.23 kB / 0.5345 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.4577, allocations: 30.78 kB / 0.5346 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.4578, allocations: 48.05 kB / 0.5346 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.4581, allocations: 150.8 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4581, allocations: 7.984 kB / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4581, allocations: 0 / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4581, allocations: 0 / 0.5348 GB, free: 10.92 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007813/0.4589, allocations: 485.7 kB / 0.5352 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4589, allocations: 13.56 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.459, allocations: 17 kB / 0.5353 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4594, allocations: 232.1 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4594, allocations: 14.94 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.4595, allocations: 9.312 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.4597, allocations: 107.4 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4598, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4598, allocations: 1.312 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4598, allocations: 2.031 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.46, allocations: 55.06 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.4607, allocations: 0.5037 MB / 0.5362 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4611, allocations: 91.59 kB / 0.5362 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4612, allocations: 35.84 kB / 0.5363 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4612, allocations: 1.094 kB / 0.5363 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.4615, allocations: 85.16 kB / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.4615, allocations: 1.125 kB / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004672/0.462, allocations: 146.3 kB / 0.5365 GB, free: 9.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.462, allocations: 57.84 kB / 0.5366 GB, free: 9.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4623, allocations: 195.1 kB / 0.5367 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4623, allocations: 30.8 kB / 0.5368 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.4624, allocations: 118.8 kB / 0.5369 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.4624, allocations: 30.95 kB / 0.5369 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.4625, allocations: 27.09 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4626, allocations: 323.3 kB / 0.5373 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.4627, allocations: 43.53 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.4629, allocations: 64.28 kB / 0.5374 GB, free: 8.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.4631, allocations: 105.8 kB / 0.5375 GB, free: 8.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4631, allocations: 1.156 kB / 0.5375 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.4634, allocations: 137.5 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4634, allocations: 5.719 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4634, allocations: 1.125 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4634, allocations: 2.469 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4635, allocations: 30.92 kB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4635, allocations: 1.312 kB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.4636, allocations: 4.688 kB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4636, allocations: 12.31 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001314/0.4638, allocations: 134.9 kB / 0.5378 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4638, allocations: 14.12 kB / 0.5378 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4639, allocations: 18.11 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4639, allocations: 5.094 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4639, allocations: 4.938 kB / 0.5378 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4639, allocations: 3.984 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4641, allocations: 214.3 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4641, allocations: 1 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.4642, allocations: 14.2 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4642, allocations: 0 / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4642, allocations: 1.5 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.4642, allocations: 5 kB / 0.538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4642, allocations: 3.938 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.4646, allocations: 185.4 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4647, allocations: 93.31 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4647, allocations: 1.438 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.4648, allocations: 7.688 kB / 0.5383 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4648, allocations: 10.23 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4648, allocations: 4.094 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.465, allocations: 145.6 kB / 0.5385 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.465, allocations: 4 kB / 0.5385 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.4652, allocations: 23.59 kB / 0.5385 GB, free: 7.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.00108/0.4663, allocations: 411 kB / 0.5389 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.4666, allocations: 79.28 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4666, allocations: 0 / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4668, allocations: 39.05 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.4671, allocations: 44.3 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.4677, allocations: 273.1 kB / 0.5393 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.4682, allocations: 0.7123 MB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.4683, allocations: 23.72 kB / 0.54 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.4683, allocations: 16.84 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4683, allocations: 0 / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of Templates: time 0.006391/0.4747, allocations: 1.912 MB / 0.5419 GB, free: 5.324 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches