Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.002374/0.002374, allocations: 92.97 kB / 20.21 MB, free: 4.215 MB / 18.57 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.002367/0.002367, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2446/0.2446, allocations: 32.38 MB / 270 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.783e-05, allocations: 6.312 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002659/0.002687, allocations: 1.707 MB / 348.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003967, allocations: 0.7805 MB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.004037, allocations: 3.938 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.004382, allocations: 43.75 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.004597, allocations: 59.69 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.004829, allocations: 83.72 kB / 349.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.004991, allocations: 107.6 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.005078, allocations: 4.234 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.005174, allocations: 51.84 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.005243, allocations: 23.89 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.005266, allocations: 4 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.005355, allocations: 43.88 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.005414, allocations: 27.91 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.005457, allocations: 19.92 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.005651, allocations: 107.6 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005653, allocations: 3.938 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005655, allocations: 4 kB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.005659, allocations: 4 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004944/0.006154, allocations: 447.6 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.006189, allocations: 8.031 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.006248, allocations: 16.84 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006446, allocations: 158.5 kB / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006461, allocations: 384 / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.006484, allocations: 4.375 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006621, allocations: 54.23 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.006636, allocations: 3.938 kB / 350.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006648, allocations: 4 kB / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.006653, allocations: 0 / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.006726, allocations: 19.98 kB / 350.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.007072, allocations: 299.7 kB / 351.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.007223, allocations: 59.17 kB / 351.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.007274, allocations: 27.61 kB / 351.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.007294, allocations: 4 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.007426, allocations: 76.94 kB / 351.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.007428, allocations: 0 / 351.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005254/0.007953, allocations: 177.4 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.007979, allocations: 55.41 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.008116, allocations: 247.3 kB / 351.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.008128, allocations: 29.7 kB / 351.7 MB, free: 4.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.008176, allocations: 150.9 kB / 351.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.008202, allocations: 31.72 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.00824, allocations: 31.38 kB / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.008322, allocations: 0.5001 MB / 352.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.008368, allocations: 19.98 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.00842, allocations: 43.36 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.008509, allocations: 79.22 kB / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.00851, allocations: 0 / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.008667, allocations: 97.59 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.00868, allocations: 8 kB / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008684, allocations: 0 / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.008699, allocations: 0 / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.008782, allocations: 24.3 kB / 352.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.008788, allocations: 4 kB / 352.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.008827, allocations: 4 kB / 352.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.008835, allocations: 4 kB / 352.7 MB, free: 3.758 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.487e-05/0.0089, allocations: 169.5 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.008924, allocations: 23.89 kB / 352.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.009133, allocations: 119.2 kB / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009135, allocations: 0 / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009139, allocations: 3.984 kB / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009143, allocations: 0 / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.009476, allocations: 413 kB / 353.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009478, allocations: 0 / 353.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.009513, allocations: 12 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009515, allocations: 0 / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.009526, allocations: 8.016 kB / 353.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009527, allocations: 4 kB / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009528, allocations: 3.938 kB / 353.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.009735, allocations: 271.4 kB / 353.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.009751, allocations: 7.953 kB / 353.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.009773, allocations: 8 kB / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.009838, allocations: 3.984 kB / 353.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.009886, allocations: 4 kB / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.009903, allocations: 4 kB / 353.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.01002, allocations: 183.8 kB / 353.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01002, allocations: 0 / 353.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.01029, allocations: 35.88 kB / 354 MB, free: 2.422 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003264/0.01355, allocations: 487.2 kB / 354.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.01375, allocations: 75.59 kB / 354.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01375, allocations: 0 / 354.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.01382, allocations: 43.61 kB / 354.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.01418, allocations: 37.45 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.01461, allocations: 221.1 kB / 354.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.012e-05/0.01467, allocations: 96.3 kB / 354.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01471, allocations: 24.91 kB / 354.9 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.01475, allocations: 16.5 kB / 355 MB, free: 1.488 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01475, allocations: 0 / 355 MB, free: 1.488 MB / 282.7 MB Notification: Performance of Templates: time 0.004849/0.0196, allocations: 1.835 MB / 356.8 MB, free: 15.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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: 5.30708072707057]