Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001371, allocations: 117.6 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001544, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 72.11 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4655, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003312/0.4689, allocations: 1.701 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.4707, allocations: 1.002 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.4708, allocations: 1.375 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.4712, allocations: 49.64 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.4715, allocations: 99.22 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.4717, allocations: 77.53 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4719, allocations: 94.2 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.913e-05/0.472, allocations: 9.734 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.4721, allocations: 48.27 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.4722, allocations: 25.48 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4722, allocations: 2.75 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.4723, allocations: 36.42 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.4724, allocations: 34.34 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.4725, allocations: 37.44 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.4727, allocations: 123.9 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4727, allocations: 3.984 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4727, allocations: 0 / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4727, allocations: 4 kB / 0.5343 GB, free: 11.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006425/0.4734, allocations: 432.3 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4734, allocations: 10.19 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.4735, allocations: 10.91 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.4738, allocations: 222.9 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4738, allocations: 1.719 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4739, allocations: 6.25 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.474, allocations: 51.36 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.474, allocations: 4 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4741, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4741, allocations: 9.172 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.4741, allocations: 11.7 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.4744, allocations: 195.8 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.4746, allocations: 55.94 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.4746, allocations: 32.5 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.4747, allocations: 0.9375 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.4748, allocations: 59.92 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.4749, allocations: 1.125 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003373/0.4752, allocations: 104 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4753, allocations: 56.5 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.4756, allocations: 271 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4756, allocations: 30.77 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.4757, allocations: 112.1 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.4757, allocations: 13.86 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.4758, allocations: 18.31 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4759, allocations: 328.1 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.476, allocations: 15.48 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.476, allocations: 32.02 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/0.4761, allocations: 39 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4762, allocations: 5.312 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.4763, allocations: 91.98 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4764, allocations: 5.906 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4764, allocations: 0 / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4764, allocations: 1.438 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.4765, allocations: 13.38 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4765, allocations: 4.031 kB / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.4766, allocations: 6.375 kB / 0.5365 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4766, allocations: 2.562 kB / 0.5365 GB, free: 9.043 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 (7): * Single equations (assignments): 7 * 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.0001226/0.4767, allocations: 140.8 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.4767, allocations: 10.31 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.4768, allocations: 17 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4768, allocations: 0 / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4768, allocations: 1.375 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4768, allocations: 0 / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.477, allocations: 214.9 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.477, allocations: 0 / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.477, allocations: 7.594 kB / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.477, allocations: 0 / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4771, allocations: 1.312 kB / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4771, allocations: 1.594 kB / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4771, allocations: 0 / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.4773, allocations: 119 kB / 0.537 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4774, allocations: 92.02 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4774, allocations: 5.562 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.4774, allocations: 5.547 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.4775, allocations: 3.094 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4775, allocations: 5.438 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.4777, allocations: 202.9 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4777, allocations: 0 / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.478, allocations: 21.97 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00099/0.479, allocations: 403.6 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.4791, allocations: 44.39 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4792, allocations: 0 / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.4792, allocations: 19.95 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.4795, allocations: 38.47 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.4802, allocations: 266.8 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4806, allocations: 0.7188 MB / 0.5387 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.4807, allocations: 15.97 kB / 0.5387 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.4807, allocations: 13.81 kB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4807, allocations: 0 / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.004694/0.4854, allocations: 1.539 MB / 0.5402 GB, free: 6.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches