Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001186/0.001186, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.00232, 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.0006772/0.0006772, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009702/0.001647, 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.8906/0.8906, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1523/1.043, allocations: 52.49 MB / 238.5 MB, free: 7.617 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.1364/0.1364, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02074/0.1571, allocations: 12.53 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.928e-05, allocations: 9.484 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001939/0.001959, allocations: 1.66 MB / 287.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.002496, allocations: 434.8 kB / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.002544, allocations: 0 / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.002715, allocations: 71.66 kB / 288 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.00286, allocations: 79.7 kB / 288.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.003129, allocations: 107.6 kB / 288.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003274, allocations: 87.69 kB / 288.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.003358, allocations: 8.172 kB / 288.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.003459, allocations: 63.83 kB / 288.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.003547, allocations: 47.88 kB / 288.4 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.003564, allocations: 4 kB / 288.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.003646, allocations: 47.86 kB / 288.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.003685, allocations: 11.94 kB / 288.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.003707, allocations: 15.94 kB / 288.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.003843, allocations: 79.73 kB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.003853, allocations: 0 / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003854, allocations: 0 / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.003862, allocations: 0 / 288.6 MB, free: 5.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003534/0.004215, allocations: 320 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.004245, allocations: 8.031 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.004274, allocations: 8.922 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004407, allocations: 148.6 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.004416, allocations: 4.375 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.004436, allocations: 8.375 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.004526, allocations: 58.95 kB / 289.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004535, allocations: 192 / 289.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.004542, allocations: 3.938 kB / 289.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004547, allocations: 4 kB / 289.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.004568, allocations: 7.984 kB / 289.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.004784, allocations: 179 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.004837, allocations: 29.41 kB / 289.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.004852, allocations: 8.859 kB / 289.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.004871, allocations: 4.078 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.004891, allocations: 38.5 kB / 289.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004892, allocations: 0 / 289.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000435/0.005327, allocations: 149.5 kB / 289.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005356, allocations: 51.41 kB / 289.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.00546, allocations: 168.3 kB / 289.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.005471, allocations: 25.7 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.005507, allocations: 104 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.005532, allocations: 31.73 kB / 289.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.005562, allocations: 25.72 kB / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.00565, allocations: 322.8 kB / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.005666, allocations: 15.92 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.005679, allocations: 8 kB / 290.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.005719, allocations: 27.67 kB / 290.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.005721, allocations: 3.938 kB / 290.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.781e-05/0.005789, allocations: 57.61 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005802, allocations: 8 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005807, allocations: 0 / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005819, allocations: 0 / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.00588, allocations: 12 kB / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.005885, allocations: 11.98 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.005902, allocations: 0 / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.00591, allocations: 8 kB / 290.4 MB, free: 3.672 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 5.903e-05/0.005969, allocations: 116.6 kB / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.005986, allocations: 8.406 kB / 290.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.006085, allocations: 74.7 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006087, allocations: 0 / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.00609, allocations: 3.984 kB / 290.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006093, allocations: 0 / 290.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.006314, allocations: 255.6 kB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006315, allocations: 0 / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.006354, allocations: 19.98 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.006364, allocations: 15.89 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006366, allocations: 0 / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.006372, allocations: 4 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006374, allocations: 3.984 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006376, allocations: 4 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.434e-05/0.00646, allocations: 164.3 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.00647, allocations: 0 / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.006501, allocations: 4.031 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.006528, allocations: 7.984 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.006534, allocations: 8 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.006572, allocations: 41.41 kB / 291.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006572, allocations: 0 / 291.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.006711, allocations: 23.98 kB / 291.1 MB, free: 2.871 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: 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.001344/0.008055, allocations: 0.6304 MB / 291.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.008143, allocations: 32.83 kB / 291.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.008149, allocations: 0 / 291.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.008182, allocations: 24.86 kB / 291.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.008373, allocations: 83.22 kB / 291.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.008791, allocations: 239.4 kB / 292.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.008834, allocations: 67.33 kB / 292.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.008869, allocations: 12.72 kB / 292.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.008923, allocations: 63.36 kB / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008924, allocations: 0 / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of Templates: time 0.002899/0.01182, allocations: 1.501 MB / 293.8 MB, free: 496 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.743628884665668]