Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001517/0.001517, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001427/0.001427, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.341/1.341, allocations: 230.3 MB / 258 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.2098/0.2098, allocations: 46.89 MB / 361.3 MB, free: 4.473 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 79.86 kB / 0.4971 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2684, allocations: 66.02 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002885/0.2713, allocations: 1.617 MB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.2723, allocations: 0.542 MB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.2723, allocations: 4 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2725, allocations: 31.78 kB / 0.5637 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.2727, allocations: 71.69 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.273, allocations: 91.69 kB / 0.5638 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2731, allocations: 63.84 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2732, allocations: 15.64 kB / 0.5639 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.2733, allocations: 23.86 kB / 0.5639 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.2733, allocations: 23.86 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2733, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.2734, allocations: 47.92 kB / 0.564 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2735, allocations: 15.92 kB / 0.564 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.2735, allocations: 23.8 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2736, allocations: 78.48 kB / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2736, allocations: 0 / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2737, allocations: 0 / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2737, allocations: 0 / 0.5641 GB, free: 1.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004449/0.2741, allocations: 309.9 kB / 0.5644 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2741, allocations: 12.03 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2742, allocations: 8.891 kB / 0.5644 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2743, allocations: 136.5 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2744, allocations: 4.375 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2744, allocations: 4.375 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2745, allocations: 46.23 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2745, allocations: 192 / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2745, allocations: 3.938 kB / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.2745, allocations: 4 kB / 0.5646 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.2746, allocations: 23.92 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.275, allocations: 244 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2752, allocations: 50.44 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.2752, allocations: 16.94 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2752, allocations: 0 / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2752, allocations: 34.56 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2752, allocations: 0 / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005361/0.2758, allocations: 145.4 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2758, allocations: 55.41 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.276, allocations: 148.9 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.276, allocations: 29.7 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.276, allocations: 96.14 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2761, allocations: 27.77 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.2761, allocations: 17.72 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2762, allocations: 322.8 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.2763, allocations: 19.98 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.2764, allocations: 19.92 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2765, allocations: 48.91 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2765, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001854/0.2767, allocations: 77.62 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2767, allocations: 8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2767, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2767, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.2768, allocations: 11.98 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.2768, allocations: 0 / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.2768, allocations: 8 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2769, allocations: 8 kB / 0.566 GB, free: 15.86 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 9.144e-05/0.2769, allocations: 131 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.277, allocations: 7.953 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.2772, allocations: 82.06 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2772, allocations: 4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2772, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2772, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.2776, allocations: 325.8 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2776, allocations: 4.062 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.2777, allocations: 11.94 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2777, allocations: 4 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2777, allocations: 288 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2777, allocations: 0 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2777, allocations: 3.984 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.2779, allocations: 183.4 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.2779, allocations: 11.94 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.278, allocations: 4 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.278, allocations: 7.984 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.2781, allocations: 3.938 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2781, allocations: 4 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.2782, allocations: 117.8 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2782, allocations: 4 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.2784, allocations: 15.94 kB / 0.5669 GB, free: 14.87 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.001416/0.2798, allocations: 402.7 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.28, allocations: 39.95 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.28, allocations: 4 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.2801, allocations: 23.92 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2804, allocations: 19.94 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.2808, allocations: 182.2 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2811, allocations: 0.7036 MB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.814e-05/0.2811, allocations: 11.77 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2812, allocations: 15.44 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2812, allocations: 0 / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.003753/0.2849, allocations: 1.135 MB / 0.5693 GB, free: 12.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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: 4.4827366806566715]