Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.271/0.271, allocations: 46.91 MB / 359.4 MB, free: 4.859 MB / 286.1 MB " [Timeout remaining time 179] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 83.86 kB / 0.4947 GB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4541, allocations: 65.98 MB / 0.5592 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004614/0.4587, allocations: 1.704 MB / 0.5608 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.4613, allocations: 1.021 MB / 0.5618 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.4614, allocations: 0 / 0.5618 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.4618, allocations: 87.69 kB / 0.5619 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.4623, allocations: 115.6 kB / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.4626, allocations: 75.67 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.4628, allocations: 111.7 kB / 0.5622 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.4629, allocations: 8.234 kB / 0.5622 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.463, allocations: 47.78 kB / 0.5622 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4632, allocations: 63.8 kB / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4632, allocations: 0 / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.4633, allocations: 39.94 kB / 0.5623 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.4634, allocations: 27.84 kB / 0.5624 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.4635, allocations: 31.73 kB / 0.5624 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.4637, allocations: 110 kB / 0.5625 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4637, allocations: 4 kB / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4637, allocations: 0 / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4637, allocations: 7.938 kB / 0.5625 GB, free: 1.59 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.0007006/0.4644, allocations: 429.3 kB / 0.5629 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4645, allocations: 12.03 kB / 0.5629 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.4645, allocations: 12.84 kB / 0.5629 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.4649, allocations: 216.1 kB / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4649, allocations: 4.375 kB / 0.5632 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.4649, allocations: 8.359 kB / 0.5632 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4651, allocations: 46 kB / 0.5632 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4651, allocations: 4 kB / 0.5632 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4651, allocations: 4 kB / 0.5632 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4651, allocations: 0 / 0.5632 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/0.4652, allocations: 15.98 kB / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.4655, allocations: 189.7 kB / 0.5634 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4658, allocations: 50.55 kB / 0.5635 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.4658, allocations: 24.84 kB / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4659, allocations: 0 / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.4661, allocations: 71.33 kB / 0.5636 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4661, allocations: 0 / 0.5636 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000436/0.4665, allocations: 97.52 kB / 0.5636 GB, free: 268 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4666, allocations: 51.41 kB / 0.5637 GB, free: 204 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4669, allocations: 228.3 kB / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4669, allocations: 25.7 kB / 0.5639 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.467, allocations: 104.1 kB / 0.564 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.4671, allocations: 11.95 kB / 0.564 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.4671, allocations: 17.72 kB / 0.5641 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4673, allocations: 322.8 kB / 0.5644 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.4674, allocations: 15.98 kB / 0.5644 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.4675, allocations: 33.7 kB / 0.5644 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.4677, allocations: 45.66 kB / 0.5645 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4677, allocations: 3.984 kB / 0.5645 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002342/0.4679, allocations: 89.47 kB / 0.5646 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4679, allocations: 4 kB / 0.5646 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4679, allocations: 0 / 0.5646 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4679, allocations: 4 kB / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.468, allocations: 12.25 kB / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.468, allocations: 4.031 kB / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.4681, allocations: 15.92 kB / 0.5646 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4681, allocations: 0 / 0.5646 GB, free: 15.22 MB / 414.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.0001517/0.4683, allocations: 125.8 kB / 0.5647 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.4683, allocations: 19.83 kB / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.4686, allocations: 86.67 kB / 0.5648 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4686, allocations: 4 kB / 0.5648 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4686, allocations: 3.938 kB / 0.5648 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4686, allocations: 0 / 0.5648 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4689, allocations: 193.6 kB / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4689, allocations: 0 / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.4689, allocations: 7.938 kB / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4689, allocations: 0 / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4689, allocations: 4 kB / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4689, allocations: 0 / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4689, allocations: 0 / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.4692, allocations: 109 kB / 0.5651 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.4693, allocations: 96.95 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.4693, allocations: 3.984 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.4694, allocations: 4 kB / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4694, allocations: 4 kB / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4694, allocations: 4 kB / 0.5652 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.4697, allocations: 169.2 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4697, allocations: 0 / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.47, allocations: 12 kB / 0.5654 GB, free: 14.29 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.00219/0.4722, allocations: 424.2 kB / 0.5658 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.4726, allocations: 35.98 kB / 0.5658 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4726, allocations: 0 / 0.5658 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4727, allocations: 19.92 kB / 0.5659 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4731, allocations: 34.66 kB / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.4739, allocations: 234.3 kB / 0.5661 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.4745, allocations: 0.7041 MB / 0.5668 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.4746, allocations: 16.53 kB / 0.5668 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.4747, allocations: 19.44 kB / 0.5668 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4747, allocations: 0 / 0.5668 GB, free: 12.9 MB / 414.1 MB Notification: Performance of Templates: time 0.008663/0.4834, allocations: 1.541 MB / 0.5683 GB, free: 11.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.494999725371599]