Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.00136/0.00136, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001433/0.001433, allocations: 208 kB / 24.54 MB, free: 4.055 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.349/1.349, allocations: 230.3 MB / 258 MB, free: 8.238 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.2143/0.2143, allocations: 46.9 MB / 361.3 MB, free: 4.434 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.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 76.06 kB / 0.4971 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2694, allocations: 66.02 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00297/0.2724, allocations: 1.628 MB / 0.5631 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2743, allocations: 1.259 MB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.2744, allocations: 0 / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2746, allocations: 23.84 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.2749, allocations: 79.62 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.2751, allocations: 94.94 kB / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2753, allocations: 71.78 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.2754, allocations: 15.62 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.2754, allocations: 31.92 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.2756, allocations: 27.84 kB / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2756, allocations: 4 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2758, allocations: 99.88 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.2758, allocations: 15.92 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2759, allocations: 23.86 kB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.2761, allocations: 146.3 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2761, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2761, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2761, allocations: 0 / 0.565 GB, free: 1.125 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.0004739/0.2766, allocations: 329.7 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2767, allocations: 11.97 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.2767, allocations: 16.88 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2769, allocations: 128.8 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.2769, allocations: 384 / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2769, allocations: 8.375 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2771, allocations: 63.89 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2771, allocations: 192 / 0.5655 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2771, allocations: 7.938 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2771, allocations: 4 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.2772, allocations: 19.98 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.2775, allocations: 244 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.2777, allocations: 50.42 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.2778, allocations: 20.86 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2778, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2778, allocations: 34.56 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2778, allocations: 0 / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005718/0.2784, allocations: 149.5 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.2785, allocations: 81.11 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2786, allocations: 143.9 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2786, allocations: 25.7 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.2787, allocations: 96.12 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.2787, allocations: 19.8 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.2788, allocations: 21.66 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2789, allocations: 322.8 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.279, allocations: 19.98 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.279, allocations: 33.7 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2792, allocations: 52.77 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2792, allocations: 0 / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.2794, allocations: 73.62 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2794, allocations: 8 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2794, allocations: 4.031 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2794, allocations: 3.984 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.2795, allocations: 8.25 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2795, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.2795, allocations: 11.92 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.2795, allocations: 8 kB / 0.5669 GB, free: 14.94 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.525e-05/0.2796, allocations: 121.7 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2797, allocations: 7.953 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2799, allocations: 90.06 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2799, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2799, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2799, allocations: 3.984 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.2803, allocations: 321.5 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2803, allocations: 0 / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.2804, allocations: 11.98 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2804, allocations: 8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2804, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2804, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2804, allocations: 3.938 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.2806, allocations: 175.5 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.2807, allocations: 11.94 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2807, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.2808, allocations: 11.94 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2808, allocations: 7.922 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2808, allocations: 4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.2809, allocations: 109.8 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2809, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.2812, allocations: 39.86 kB / 0.5678 GB, free: 13.94 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.001667/0.2828, allocations: 0.4943 MB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.283, allocations: 47.97 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.283, allocations: 0 / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.2831, allocations: 23.92 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2834, allocations: 19.92 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.2838, allocations: 169.5 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2841, allocations: 0.6924 MB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.651e-05/0.2842, allocations: 15.77 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2842, allocations: 19.42 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2842, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004726/0.2889, allocations: 1.768 MB / 0.571 GB, free: 10.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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: 4.535397121682763]