Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001003/0.001003, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009564/0.0009564, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9384/0.9384, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.2633/0.2633, allocations: 32.8 MB / 294.3 MB, free: 1.223 MB / 266.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.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.CombiTable1Ds.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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.917e-05, allocations: 6.312 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001979/0.001998, allocations: 1.664 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006503/0.002649, allocations: 0.526 MB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.002696, allocations: 3.938 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.002932, allocations: 79.7 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.003208, allocations: 107.5 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.003414, allocations: 99.56 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003547, allocations: 83.75 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.003628, allocations: 11.98 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.003684, allocations: 47.89 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.003766, allocations: 47.88 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.00378, allocations: 4 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.003856, allocations: 51.91 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.003899, allocations: 23.92 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.003922, allocations: 11.94 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.004071, allocations: 95.59 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004073, allocations: 0 / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004073, allocations: 4 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.004077, allocations: 0 / 378.9 MB, free: 1.762 MB / 346.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.0003543/0.004432, allocations: 435.9 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.004463, allocations: 8.031 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.004502, allocations: 16.84 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004625, allocations: 149.1 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-06/0.004633, allocations: 384 / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.004654, allocations: 16.3 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.004752, allocations: 58.95 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.004763, allocations: 4.188 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004773, allocations: 4.125 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.004781, allocations: 3.938 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.004814, allocations: 11.98 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.005078, allocations: 295.6 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.005141, allocations: 46.98 kB / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.005162, allocations: 19.62 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.005178, allocations: 0 / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.005199, allocations: 37.39 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005199, allocations: 4 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004713/0.005671, allocations: 161.4 kB / 380.1 MB, free: 384 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.005699, allocations: 55.34 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.005825, allocations: 238.4 kB / 380.4 MB, free: 60 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005836, allocations: 25.7 kB / 380.4 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.005896, allocations: 158.8 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.005919, allocations: 27.75 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.005949, allocations: 27.36 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006052, allocations: 0.504 MB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.006071, allocations: 8 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.006087, allocations: 11.98 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.006131, allocations: 39.97 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006131, allocations: 0 / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.119e-05/0.006213, allocations: 77.53 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.006223, allocations: 8 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006227, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.006237, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.006303, allocations: 15.98 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.006307, allocations: 0 / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.006327, allocations: 12 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.006332, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.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.726e-05/0.006389, allocations: 160.5 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.00641, allocations: 19.91 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.006522, allocations: 83.08 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006525, allocations: 7.938 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006527, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.006529, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.006795, allocations: 377 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006796, allocations: 4.031 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.006834, allocations: 12.42 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006837, allocations: 3.984 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.006845, allocations: 8 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.006847, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006848, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.00696, allocations: 239.4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.006969, allocations: 11.94 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.00698, allocations: 0 / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.007013, allocations: 11.98 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.007036, allocations: 11.94 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.00704, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.92e-05/0.007109, allocations: 171.1 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007109, allocations: 0 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.007265, allocations: 20 kB / 382.5 MB, free: 13.9 MB / 362.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.0007995/0.008065, allocations: 432.1 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.008162, allocations: 47.59 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008163, allocations: 0 / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.008192, allocations: 31.61 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008379, allocations: 27.94 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.008688, allocations: 225.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.008734, allocations: 75.33 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.008767, allocations: 17.03 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.008794, allocations: 16.48 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008795, allocations: 8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Templates: time 0.002881/0.01168, allocations: 1.472 MB / 384.8 MB, free: 11.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9927182882092893]