Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0007826/0.0007826, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.001981, 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.0006718/0.0006718, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009763/0.001648, 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.979/0.979, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/1.063, allocations: 52.49 MB / 238.4 MB, free: 4.367 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.1968/0.1968, allocations: 32.8 MB / 272 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1217/0.3185, allocations: 12.55 MB / 284.5 MB, free: 11.88 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 285.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.457e-05, allocations: 8.359 kB / 285.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00252/0.002544, allocations: 1.724 MB / 287.6 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.003246, allocations: 474.1 kB / 288.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.003308, allocations: 1.344 kB / 288.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.003764, allocations: 489.6 kB / 288.5 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.00404, allocations: 271.1 kB / 288.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.004456, allocations: 189.9 kB / 289 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.004743, allocations: 175 kB / 289.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.004834, allocations: 17.97 kB / 289.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.005021, allocations: 159 kB / 289.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.00523, allocations: 192.4 kB / 289.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.005253, allocations: 7.625 kB / 289.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.005376, allocations: 51.52 kB / 289.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.005475, allocations: 82.84 kB / 289.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.005516, allocations: 36.38 kB / 289.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.005795, allocations: 205.9 kB / 289.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.005811, allocations: 0 / 289.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.005812, allocations: 5.312 kB / 289.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.005828, allocations: 0 / 289.9 MB, free: 8.207 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007912/0.006619, allocations: 0.5923 MB / 290.5 MB, free: 7.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.006656, allocations: 21.39 kB / 290.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.006707, allocations: 25.11 kB / 290.5 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.006948, allocations: 245.6 kB / 290.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.006958, allocations: 2.875 kB / 290.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.006981, allocations: 2.812 kB / 290.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.007097, allocations: 64 kB / 290.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.007106, allocations: 192 / 290.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.007115, allocations: 12.11 kB / 290.8 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.007122, allocations: 1.5 kB / 290.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.007149, allocations: 11.19 kB / 290.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.007459, allocations: 216 kB / 291.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.007593, allocations: 37.72 kB / 291.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.007614, allocations: 13.09 kB / 291.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.007634, allocations: 5.375 kB / 291.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.007654, allocations: 35.88 kB / 291.2 MB, free: 7.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.007656, allocations: 4 kB / 291.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005719/0.008228, allocations: 221.3 kB / 291.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.008259, allocations: 56.72 kB / 291.4 MB, free: 6.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.00862, allocations: 0.5219 MB / 292 MB, free: 6.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008637, allocations: 31.27 kB / 292 MB, free: 6.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.008697, allocations: 138.6 kB / 292.1 MB, free: 6.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.00873, allocations: 40.73 kB / 292.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.008773, allocations: 28.12 kB / 292.2 MB, free: 6.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.00887, allocations: 365.2 kB / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.008892, allocations: 8.156 kB / 292.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.008913, allocations: 15.81 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.008971, allocations: 38.59 kB / 292.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008973, allocations: 3.938 kB / 292.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001031/0.009076, allocations: 81.88 kB / 292.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.009089, allocations: 5.531 kB / 292.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009094, allocations: 0 / 292.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.009104, allocations: 1.094 kB / 292.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.009178, allocations: 28.23 kB / 292.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.009181, allocations: 0 / 292.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.009215, allocations: 12.48 kB / 292.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.009223, allocations: 1.031 kB / 292.7 MB, free: 6.004 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 (11): * Single equations (assignments): 11 * 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.62e-05/0.009319, allocations: 118.9 kB / 292.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.009354, allocations: 24.75 kB / 292.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.00951, allocations: 119.3 kB / 293 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.009513, allocations: 6.438 kB / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.009514, allocations: 0 / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009518, allocations: 0 / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.009915, allocations: 347.4 kB / 293.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.009919, allocations: 0 / 293.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.009986, allocations: 26.92 kB / 293.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.01002, allocations: 38.91 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.01003, allocations: 4 kB / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.01003, allocations: 0 / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01004, allocations: 0 / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01004, allocations: 7.938 kB / 293.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.01016, allocations: 197.2 kB / 293.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.01018, allocations: 4.062 kB / 293.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.01022, allocations: 8 kB / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.01026, allocations: 15.91 kB / 293.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.01026, allocations: 4 kB / 293.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.01043, allocations: 279.2 kB / 293.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01043, allocations: 0 / 293.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.0106, allocations: 28 kB / 293.9 MB, free: 4.898 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001415/0.01201, allocations: 0.6376 MB / 294.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01212, allocations: 44.78 kB / 294.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.01213, allocations: 8 kB / 294.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.01217, allocations: 44.84 kB / 294.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01242, allocations: 119.2 kB / 294.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.01321, allocations: 0.6269 MB / 295.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.01329, allocations: 123.2 kB / 295.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.01334, allocations: 12.48 kB / 295.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.0134, allocations: 67.38 kB / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.0134, allocations: 0 / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of Templates: time 0.00435/0.01775, allocations: 1.899 MB / 297.5 MB, free: 1.602 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.9055568631738424]