Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 46.93 MB / 361.6 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.4974 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3269, allocations: 66.02 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002951/0.3298, allocations: 1.628 MB / 0.5635 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3309, allocations: 0.5544 MB / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.3309, allocations: 0 / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3311, allocations: 19.8 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3314, allocations: 79.67 kB / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3317, allocations: 115.6 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3318, allocations: 67.83 kB / 0.5643 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.3319, allocations: 11.94 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.3319, allocations: 27.84 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.332, allocations: 27.86 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.332, allocations: 0 / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.3321, allocations: 35.92 kB / 0.5644 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3322, allocations: 19.92 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3322, allocations: 19.81 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3324, allocations: 82.05 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3324, allocations: 0 / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3324, allocations: 0 / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3324, allocations: 4 kB / 0.5645 GB, free: 1.699 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.0004535/0.3328, allocations: 309.9 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3329, allocations: 12.03 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.3329, allocations: 8.891 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3331, allocations: 137 kB / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3331, allocations: 384 / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3331, allocations: 4.375 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3333, allocations: 49.8 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3333, allocations: 12 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3333, allocations: 0 / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3333, allocations: 3.938 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.3334, allocations: 19.98 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3338, allocations: 251.9 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.334, allocations: 50.47 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.334, allocations: 20.86 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.334, allocations: 4.078 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3341, allocations: 34.56 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3341, allocations: 0 / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005406/0.3346, allocations: 149.4 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3346, allocations: 55.41 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3348, allocations: 150.2 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3348, allocations: 25.7 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.3349, allocations: 96.12 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3349, allocations: 15.8 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.3349, allocations: 17.72 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3351, allocations: 326.8 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.3352, allocations: 28.05 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.3352, allocations: 27.91 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3354, allocations: 48.83 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3354, allocations: 4 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.3356, allocations: 81.62 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3356, allocations: 7.984 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3356, allocations: 3.938 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3356, allocations: 8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.3357, allocations: 8 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.3357, allocations: 0 / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.3357, allocations: 7.984 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3357, allocations: 0 / 0.5664 GB, free: 15.57 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.0001103/0.3358, allocations: 129.7 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3359, allocations: 3.953 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.3361, allocations: 102 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3361, allocations: 0 / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3361, allocations: 4 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3361, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3366, allocations: 333.5 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3366, allocations: 4.25 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3366, allocations: 15.98 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3366, allocations: 8 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.3366, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3366, allocations: 3.938 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3366, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3369, allocations: 183.4 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.3369, allocations: 3.953 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3369, allocations: 4 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.337, allocations: 11.92 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.337, allocations: 8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.337, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.277e-05/0.3371, allocations: 117.7 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3371, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3373, allocations: 19.94 kB / 0.5673 GB, free: 14.55 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.001428/0.3388, allocations: 399.1 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3389, allocations: 55.95 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.339, allocations: 0 / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.339, allocations: 31.86 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3394, allocations: 21.56 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.3398, allocations: 211.8 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3402, allocations: 0.7057 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3402, allocations: 11.44 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3402, allocations: 4 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Templates: time 0.003183/0.3434, allocations: 1.454 MB / 0.5701 GB, free: 11.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.318569253897294]