Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001611/0.001611, allocations: 109.1 kB / 21.18 MB, free: 0.7578 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.00171/0.00171, allocations: 209.7 kB / 24.49 MB, free: 4.148 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.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 8.039 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.2468/0.2468, allocations: 46.93 MB / 361.5 MB, free: 4.207 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 79.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4017, allocations: 66.08 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003221/0.4049, allocations: 1.667 MB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.406, allocations: 0.5771 MB / 0.5642 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.406, allocations: 0 / 0.5642 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.4064, allocations: 95.67 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.4066, allocations: 111.6 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.407, allocations: 123 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.4072, allocations: 103.7 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4073, allocations: 23.64 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.4074, allocations: 47.83 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4075, allocations: 67.8 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.4075, allocations: 4 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.4076, allocations: 39.98 kB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.4077, allocations: 31.86 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.4077, allocations: 55.66 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.408, allocations: 130.1 kB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.408, allocations: 7.938 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.408, allocations: 0 / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.408, allocations: 0 / 0.565 GB, free: 1.172 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005464/0.4085, allocations: 361.5 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4086, allocations: 8.031 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.4086, allocations: 16.84 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4088, allocations: 158.2 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.4088, allocations: 8.375 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4088, allocations: 8.375 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.409, allocations: 74.22 kB / 0.5656 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.409, allocations: 4.141 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4091, allocations: 7.938 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4091, allocations: 0 / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4092, allocations: 43.95 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.4097, allocations: 311.8 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4098, allocations: 62.55 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.4099, allocations: 24.89 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.4099, allocations: 4.141 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.41, allocations: 34.5 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.41, allocations: 0 / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.411, allocations: 341.6 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4111, allocations: 59.28 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.4113, allocations: 235.6 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4114, allocations: 25.7 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.4114, allocations: 120 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4115, allocations: 47.62 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.4115, allocations: 21.72 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4117, allocations: 334.8 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4118, allocations: 43.97 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.4119, allocations: 43.97 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4121, allocations: 111.8 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4121, allocations: 4 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002832/0.4124, allocations: 153.5 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4124, allocations: 4 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4124, allocations: 0 / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4124, allocations: 4 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4126, allocations: 27.98 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4126, allocations: 7.922 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.4126, allocations: 15.94 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4126, allocations: 4 kB / 0.5676 GB, free: 14.3 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 (13): * Single equations (assignments): 13 * 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.0001367/0.4128, allocations: 135.1 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.4128, allocations: 15.91 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.4132, allocations: 194.9 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4132, allocations: 0 / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4132, allocations: 3.938 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4132, allocations: 7.984 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.4139, allocations: 478.1 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4139, allocations: 3.984 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.414, allocations: 23.98 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.414, allocations: 0 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.414, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.414, allocations: 4.031 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.414, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.4143, allocations: 260.1 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.4144, allocations: 15.89 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4144, allocations: 4 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.4145, allocations: 4 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4145, allocations: 11.98 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4145, allocations: 8 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.4147, allocations: 181.1 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4147, allocations: 0 / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4149, allocations: 31.94 kB / 0.5689 GB, free: 12.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001761/0.4167, allocations: 466.3 kB / 0.5694 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.417, allocations: 103.9 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.417, allocations: 4 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4171, allocations: 55.91 kB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.4175, allocations: 31.73 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.4182, allocations: 353.4 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.4186, allocations: 0.7241 MB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.4187, allocations: 23.42 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4187, allocations: 4 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004602/0.4233, allocations: 2.166 MB / 0.5727 GB, free: 9.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 7.968327725073323]