Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001935/0.001935, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003022/0.003022, allocations: 204.7 kB / 18.73 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.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.09 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4641, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00365/0.4678, allocations: 1.922 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.4699, allocations: 1.123 MB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.47, allocations: 5.312 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.4705, allocations: 164.3 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.471, allocations: 177 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.4713, allocations: 119.6 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.4716, allocations: 239.5 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4718, allocations: 33.33 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.472, allocations: 118.7 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.4722, allocations: 131.5 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.4722, allocations: 8.938 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4723, allocations: 66.89 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.4724, allocations: 57.98 kB / 0.5351 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4725, allocations: 81.67 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.4729, allocations: 232.2 kB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4729, allocations: 0 / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4729, allocations: 0 / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4729, allocations: 0 / 0.5354 GB, free: 10.36 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007954/0.4737, allocations: 0.5297 MB / 0.536 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4738, allocations: 14.14 kB / 0.536 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.4739, allocations: 28.58 kB / 0.536 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.4742, allocations: 286.8 kB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4743, allocations: 4.125 kB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.4743, allocations: 12.22 kB / 0.5363 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.4746, allocations: 112.3 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4746, allocations: 0 / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4746, allocations: 1.25 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4746, allocations: 2.188 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4748, allocations: 56.55 kB / 0.5364 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.4754, allocations: 458.4 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.4758, allocations: 130 kB / 0.537 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4759, allocations: 45.08 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.476, allocations: 2.906 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.4762, allocations: 123.7 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.4762, allocations: 5.156 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001341/0.4776, allocations: 495.3 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.4777, allocations: 79.3 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.4781, allocations: 373.1 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4781, allocations: 36.56 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.4782, allocations: 140.5 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.4783, allocations: 74.22 kB / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4784, allocations: 41.36 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4785, allocations: 339.8 kB / 0.5387 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4787, allocations: 57.72 kB / 0.5387 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.4788, allocations: 98.44 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.4791, allocations: 160.7 kB / 0.539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4791, allocations: 1.312 kB / 0.539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004308/0.4795, allocations: 224.6 kB / 0.5392 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4796, allocations: 10.09 kB / 0.5392 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4796, allocations: 9.078 kB / 0.5392 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4796, allocations: 5.031 kB / 0.5392 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4798, allocations: 51.86 kB / 0.5393 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4798, allocations: 0.9062 kB / 0.5393 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.4799, allocations: 7.938 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4799, allocations: 10.77 kB / 0.5393 GB, free: 7.203 MB / 398.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001591/0.4801, allocations: 159.5 kB / 0.5394 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.4801, allocations: 32.16 kB / 0.5395 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.4802, allocations: 36.44 kB / 0.5395 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4802, allocations: 3.844 kB / 0.5395 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4803, allocations: 4 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4803, allocations: 5.422 kB / 0.5395 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.4812, allocations: 0.7206 MB / 0.5402 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4812, allocations: 1.562 kB / 0.5402 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.4813, allocations: 32.36 kB / 0.5403 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4813, allocations: 10.67 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4813, allocations: 4.312 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4813, allocations: 7.234 kB / 0.5403 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4813, allocations: 4.938 kB / 0.5403 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.4818, allocations: 418.2 kB / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.4819, allocations: 100.2 kB / 0.5408 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.4819, allocations: 12.3 kB / 0.5408 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4821, allocations: 4.688 kB / 0.5408 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.4821, allocations: 28.31 kB / 0.5408 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4822, allocations: 8.375 kB / 0.5408 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.4825, allocations: 280.4 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 0 / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.4828, allocations: 52.52 kB / 0.5411 GB, free: 5.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001211/0.484, allocations: 0.504 MB / 0.5416 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.4844, allocations: 159.6 kB / 0.5418 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4844, allocations: 0 / 0.5418 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4846, allocations: 79.62 kB / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.4851, allocations: 65.66 kB / 0.5419 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.486, allocations: 0.4929 MB / 0.5424 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4864, allocations: 0.7678 MB / 0.5432 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4865, allocations: 44.19 kB / 0.5432 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.4866, allocations: 34.02 kB / 0.5432 GB, free: 4.215 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4866, allocations: 1.188 kB / 0.5432 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Templates: time 0.007479/0.4941, allocations: 3.147 MB / 0.5463 GB, free: 1.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches