Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001431/0.001431, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001499/0.001499, allocations: 211.8 kB / 23.73 MB, free: 4.164 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2383/0.2383, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 84.19 kB / 0.4967 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4627, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004796/0.4675, allocations: 1.6 MB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.4701, allocations: 1.235 MB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.4702, allocations: 3.938 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.4705, allocations: 35.77 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.471, allocations: 83.62 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.4714, allocations: 107.7 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4717, allocations: 71.81 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4718, allocations: 8 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.4719, allocations: 27.8 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.4721, allocations: 31.84 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.4721, allocations: 4 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.4724, allocations: 87.94 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.4724, allocations: 15.92 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.4725, allocations: 19.88 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.4729, allocations: 153.8 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4729, allocations: 0 / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4729, allocations: 0 / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4729, allocations: 0 / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007498/0.4737, allocations: 321.7 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4737, allocations: 12.03 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.4738, allocations: 8.891 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4741, allocations: 138.4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4741, allocations: 384 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.4741, allocations: 4.375 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.4744, allocations: 93.66 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4744, allocations: 192 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4744, allocations: 7.938 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4744, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4745, allocations: 19.98 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.4751, allocations: 232.5 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.4753, allocations: 38.56 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.4754, allocations: 24.88 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.4754, allocations: 4 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.4755, allocations: 34.56 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4755, allocations: 0 / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007188/0.4762, allocations: 153.4 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.4763, allocations: 77.11 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4765, allocations: 141.8 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4765, allocations: 29.7 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.4766, allocations: 96.06 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.4766, allocations: 27.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.4767, allocations: 17.72 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4768, allocations: 318.8 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.4769, allocations: 23.92 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.477, allocations: 63.39 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4772, allocations: 56.77 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4772, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002566/0.4774, allocations: 93.83 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4775, allocations: 4 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4775, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4775, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.4776, allocations: 23.92 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4776, allocations: 0 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.4776, allocations: 4 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.4776, allocations: 0 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001252/0.4778, allocations: 117.8 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.4778, allocations: 11.95 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.4781, allocations: 98.05 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4781, allocations: 288 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4781, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4781, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.4786, allocations: 302.1 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4786, allocations: 3.984 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.4786, allocations: 15.98 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4786, allocations: 4 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.4786, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4787, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4787, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.4789, allocations: 187.3 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.479, allocations: 11.95 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.479, allocations: 4.234 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.4791, allocations: 8 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4791, allocations: 7.984 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.4791, allocations: 4 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4792, allocations: 113.5 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4792, allocations: 0 / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.4795, allocations: 43.8 kB / 0.5674 GB, free: 13.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00204/0.4816, allocations: 0.5241 MB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4818, allocations: 47.91 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4818, allocations: 0 / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.4819, allocations: 23.98 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4823, allocations: 27.3 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.4828, allocations: 165.6 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.4829, allocations: 83.08 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.483, allocations: 19.75 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.483, allocations: 19.44 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.483, allocations: 0 / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.006135/0.4892, allocations: 1.834 MB / 0.5701 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.301353320479393]