Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 117.2 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 208.5 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, 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.2345/0.2345, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.89 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4652, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003599/0.4689, allocations: 1.739 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.4709, allocations: 1.014 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.471, allocations: 1.688 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.4713, allocations: 57.75 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.4717, allocations: 103 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.4719, allocations: 78.33 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4721, allocations: 101.2 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4723, allocations: 15.5 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.4724, allocations: 48.52 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.4725, allocations: 32.95 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.4725, allocations: 4.531 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4726, allocations: 39.95 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.4727, allocations: 30.33 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.4728, allocations: 49.8 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.473, allocations: 140 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4731, allocations: 1.281 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4731, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4731, allocations: 0 / 0.5344 GB, free: 11 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.0006754/0.4738, allocations: 441.7 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4738, allocations: 9.625 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.4739, allocations: 15.62 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.4743, allocations: 228.1 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4743, allocations: 1.75 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4743, allocations: 6.875 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4745, allocations: 57.98 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4745, allocations: 0 / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4745, allocations: 4 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4746, allocations: 5.312 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.4747, allocations: 18.98 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.4751, allocations: 295 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.4753, allocations: 57.88 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.4754, allocations: 26.47 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4754, allocations: 0 / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4756, allocations: 73.12 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4756, allocations: 1.375 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000593/0.4762, allocations: 180.4 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4762, allocations: 52.56 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.4766, allocations: 275.4 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4766, allocations: 30.73 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.4767, allocations: 111.7 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.4767, allocations: 26.77 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.4768, allocations: 21.22 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4769, allocations: 335 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.477, allocations: 18.91 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.4771, allocations: 48.08 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4772, allocations: 55.08 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4772, allocations: 0 / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.4774, allocations: 109.5 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4774, allocations: 4.656 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4774, allocations: 1.281 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4775, allocations: 5.109 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.4776, allocations: 12.38 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4776, allocations: 5.406 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4776, allocations: 6.406 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4776, allocations: 2.625 kB / 0.5369 GB, free: 8.762 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.0001212/0.4778, allocations: 137.3 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.4778, allocations: 18.27 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.4779, allocations: 22.16 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4779, allocations: 1.25 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4779, allocations: 0 / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4779, allocations: 7.938 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.4784, allocations: 404.2 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4784, allocations: 4.969 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.4785, allocations: 15.95 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4785, allocations: 0.7812 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4785, allocations: 6.031 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4785, allocations: 0 / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4785, allocations: 1.094 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4788, allocations: 210.2 kB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.4789, allocations: 92.86 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4789, allocations: 5.969 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.479, allocations: 5.969 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.479, allocations: 3.531 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4791, allocations: 11.17 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.4793, allocations: 203.4 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4793, allocations: 0 / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.4795, allocations: 25.67 kB / 0.538 GB, free: 7.762 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.001167/0.4807, allocations: 470.2 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.4809, allocations: 58.39 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4809, allocations: 0 / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.481, allocations: 33.86 kB / 0.5385 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4814, allocations: 31.52 kB / 0.5385 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.4819, allocations: 285 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.4824, allocations: 0.7203 MB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.4825, allocations: 14.75 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.4825, allocations: 16.12 kB / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4825, allocations: 0 / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004872/0.4874, allocations: 1.784 MB / 0.5413 GB, free: 5.629 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches