Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001498/0.001498, allocations: 109 kB / 21.23 MB, free: 0.6641 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.00167/0.00167, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.374/1.374, allocations: 230.3 MB / 258 MB, free: 8.234 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.2109/0.2109, allocations: 46.88 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 83.86 kB / 0.4971 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2622, allocations: 66.02 MB / 0.5615 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002927/0.2652, allocations: 1.628 MB / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2662, allocations: 0.5343 MB / 0.5637 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.2662, allocations: 7.938 kB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.2664, allocations: 35.83 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.2667, allocations: 71.69 kB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2669, allocations: 91.08 kB / 0.5639 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.267, allocations: 67.83 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.2671, allocations: 14.8 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.2672, allocations: 31.8 kB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.2672, allocations: 19.86 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2672, allocations: 4 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.2673, allocations: 39.92 kB / 0.564 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.2674, allocations: 19.92 kB / 0.564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.2674, allocations: 19.81 kB / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2676, allocations: 83.31 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2676, allocations: 0 / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2676, allocations: 4 kB / 0.5641 GB, free: 2.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2676, allocations: 0 / 0.5641 GB, free: 2.008 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.0004416/0.268, allocations: 321.8 kB / 0.5644 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.268, allocations: 12.03 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.2681, allocations: 12.84 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.2683, allocations: 142.4 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2683, allocations: 4.375 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2683, allocations: 384 / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2684, allocations: 53.81 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2684, allocations: 4 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2684, allocations: 0 / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2684, allocations: 0 / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.2685, allocations: 23.97 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.2689, allocations: 243.9 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.269, allocations: 42.55 kB / 0.565 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.2691, allocations: 20.86 kB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2691, allocations: 3.938 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2691, allocations: 30.56 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2691, allocations: 0 / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005434/0.2697, allocations: 153.4 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2697, allocations: 55.41 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2699, allocations: 170.5 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2699, allocations: 29.7 kB / 0.5654 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.27, allocations: 96.12 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.27, allocations: 19.84 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.27, allocations: 21.7 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2702, allocations: 322.8 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.2703, allocations: 19.92 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.2703, allocations: 24.05 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2705, allocations: 48.83 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2705, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.2707, allocations: 81.58 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2707, allocations: 10.02 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2707, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2707, allocations: 7.938 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.2708, allocations: 12 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2708, allocations: 3.938 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.2708, allocations: 7.984 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2708, allocations: 4 kB / 0.5661 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.596e-05/0.2709, allocations: 123.1 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.271, allocations: 7.953 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.2712, allocations: 94.05 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2712, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2712, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2712, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.2716, allocations: 321.5 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2716, allocations: 3.984 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.2717, allocations: 8.594 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.2717, allocations: 8 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2717, allocations: 8 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2717, allocations: 3.938 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2717, allocations: 3.938 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.2719, allocations: 183.4 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.272, allocations: 11.91 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.272, allocations: 0 / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.272, allocations: 15.92 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.2721, allocations: 0 / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2721, allocations: 4 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2722, allocations: 139.9 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.2724, allocations: 19.94 kB / 0.567 GB, free: 14.83 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.001422/0.2739, allocations: 399.3 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.274, allocations: 43.97 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.274, allocations: 3.938 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.2741, allocations: 23.98 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2744, allocations: 19.5 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.2748, allocations: 193.9 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2752, allocations: 0.7041 MB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.2752, allocations: 19.7 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.2752, allocations: 19.36 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2752, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Templates: time 0.003619/0.2789, allocations: 1.138 MB / 0.5695 GB, free: 12.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.54722382966429]