Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001373/0.001373, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001518/0.001518, allocations: 204.6 kB / 23.72 MB, free: 4.391 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.6/1.6, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2529/0.2529, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 87.84 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4413, allocations: 66.09 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003546/0.4449, allocations: 1.702 MB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.4478, allocations: 1.664 MB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.4479, allocations: 4 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.4482, allocations: 39.77 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.4486, allocations: 99.53 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.4488, allocations: 71.75 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.449, allocations: 119.5 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.4492, allocations: 4 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.4493, allocations: 55.77 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4494, allocations: 39.78 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4494, allocations: 4 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.4496, allocations: 107.9 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.4497, allocations: 19.92 kB / 0.5651 GB, free: 4 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.4498, allocations: 27.97 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.4501, allocations: 169.7 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4501, allocations: 3.984 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.4501, allocations: 4 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4501, allocations: 3.938 kB / 0.5653 GB, free: 15.8 MB / 414.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.0006963/0.4508, allocations: 349.5 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4509, allocations: 8.031 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.4509, allocations: 12.84 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4512, allocations: 146.9 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4512, allocations: 384 / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.4513, allocations: 12.12 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4515, allocations: 101 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4515, allocations: 0 / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4515, allocations: 0 / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4515, allocations: 0 / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.4516, allocations: 23.98 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.452, allocations: 236.5 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4522, allocations: 58.61 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.4523, allocations: 20.84 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4523, allocations: 7.938 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4524, allocations: 63.39 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.4524, allocations: 4 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006421/0.4531, allocations: 177.3 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4531, allocations: 85.11 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4533, allocations: 162.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4534, allocations: 29.7 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.4534, allocations: 96.12 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.4535, allocations: 27.75 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.4535, allocations: 29.7 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4537, allocations: 326.8 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.4537, allocations: 19.98 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.4538, allocations: 76.14 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.454, allocations: 65.72 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.454, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.4542, allocations: 106 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4542, allocations: 4 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4542, allocations: 0 / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4542, allocations: 4 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4543, allocations: 19.98 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4543, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.4544, allocations: 8 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4544, allocations: 4.031 kB / 0.5675 GB, free: 13.35 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 (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.0001306/0.4545, allocations: 132.2 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.4546, allocations: 15.94 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4548, allocations: 118.3 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4548, allocations: 0 / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4548, allocations: 0 / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4549, allocations: 0 / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.4553, allocations: 354.9 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4553, allocations: 0 / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.4554, allocations: 12.02 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4554, allocations: 8 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4554, allocations: 0 / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4554, allocations: 0 / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.4554, allocations: 3.938 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4557, allocations: 216.1 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.4557, allocations: 19.89 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4557, allocations: 4 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.4558, allocations: 0 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.4559, allocations: 16.3 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.4559, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.456, allocations: 135.9 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.4563, allocations: 47.8 kB / 0.5685 GB, free: 12.21 MB / 414.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 (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.002195/0.4585, allocations: 0.5816 MB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4587, allocations: 63.91 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4587, allocations: 0 / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.4588, allocations: 27.98 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4592, allocations: 23.98 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4597, allocations: 210.7 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.4598, allocations: 85.31 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.572e-05/0.4598, allocations: 25.39 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.4599, allocations: 15.44 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4599, allocations: 0 / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006163/0.4661, allocations: 2.545 MB / 0.572 GB, free: 8.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.474794322624803]