Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001831/0.003015, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002782, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9035/0.9035, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1499/1.053, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1298/0.1298, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01825/0.1481, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.893e-06/7.825e-06, allocations: 6.312 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001748/0.001756, allocations: 1.667 MB / 287.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.002699, allocations: 1.181 MB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002739, allocations: 4 kB / 288.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.002842, allocations: 27.78 kB / 288.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.00294, allocations: 39.73 kB / 288.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.003101, allocations: 99.5 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.003213, allocations: 63.84 kB / 289 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.003281, allocations: 16.17 kB / 289 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.003357, allocations: 47.91 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.003438, allocations: 23.91 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003451, allocations: 4 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.003545, allocations: 51.84 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.003572, allocations: 11.94 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.003592, allocations: 8 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003716, allocations: 87.67 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.003723, allocations: 3.938 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003724, allocations: 0 / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.016e-06/0.003732, allocations: 4 kB / 289.2 MB, free: 5.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002744/0.004007, allocations: 300.1 kB / 289.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.425e-05/0.004031, allocations: 8.031 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.004052, allocations: 4.938 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.00416, allocations: 129.7 kB / 289.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.004167, allocations: 4.375 kB / 289.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.004183, allocations: 4.375 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.004281, allocations: 110.3 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004289, allocations: 4.188 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.004295, allocations: 7.875 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.004299, allocations: 4 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.004321, allocations: 11.98 kB / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.004491, allocations: 175.1 kB / 290 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.004535, allocations: 34.5 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.004549, allocations: 16.84 kB / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.004569, allocations: 0 / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.00459, allocations: 38.5 kB / 290 MB, free: 4.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.82e-07/0.00459, allocations: 0 / 290 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002298/0.00482, allocations: 109.7 kB / 290.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.004839, allocations: 51.41 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.004911, allocations: 144.3 kB / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00492, allocations: 29.7 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.004947, allocations: 88.08 kB / 290.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.004965, allocations: 31.73 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.00499, allocations: 21.72 kB / 290.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.005058, allocations: 318.8 kB / 290.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.005068, allocations: 8 kB / 290.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.005101, allocations: 51.39 kB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.005128, allocations: 28.78 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005128, allocations: 0 / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.895e-05/0.005177, allocations: 57.64 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.005185, allocations: 8 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005189, allocations: 3.984 kB / 291 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.005195, allocations: 0 / 291 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.005244, allocations: 16 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-06/0.005246, allocations: 0 / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.005263, allocations: 15.92 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.005266, allocations: 0 / 291 MB, free: 3.047 MB / 282.7 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 (8): * Single equations (assignments): 8 * 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 4.303e-05/0.005309, allocations: 112.7 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.005325, allocations: 11.94 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.005399, allocations: 70.41 kB / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0054, allocations: 0 / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005401, allocations: 0 / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.005403, allocations: 3.938 kB / 291.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.005569, allocations: 238.7 kB / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00557, allocations: 0 / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.0056, allocations: 16 kB / 291.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.005605, allocations: 3.953 kB / 291.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.005608, allocations: 7.984 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.005611, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005612, allocations: 384 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005613, allocations: 4 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.798e-05/0.005681, allocations: 163.4 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-06/0.00569, allocations: 4 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.00572, allocations: 4 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.005738, allocations: 7.984 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005741, allocations: 4 kB / 291.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.005769, allocations: 26.48 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005769, allocations: 0 / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.005896, allocations: 23.94 kB / 291.7 MB, free: 2.305 MB / 282.7 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 (8): * Single equations (assignments): 8 * 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.001088/0.006984, allocations: 0.6058 MB / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.007052, allocations: 36.72 kB / 292.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.007056, allocations: 4 kB / 292.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.007082, allocations: 21.08 kB / 292.4 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.0001482/0.00723, allocations: 103 kB / 292.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.007541, allocations: 186.3 kB / 292.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.007572, allocations: 63.34 kB / 292.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.007605, allocations: 12.72 kB / 292.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.007657, allocations: 63.36 kB / 292.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007658, allocations: 0 / 292.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of Templates: time 0.002548/0.01021, allocations: 1.648 MB / 294.4 MB, free: 15.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6892243456095457]