Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002777, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00078/0.00078, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001875, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9811/0.9811, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.082, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2789/0.2789, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03047/0.3094, allocations: 13.23 MB / 292.8 MB, free: 6.406 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.972e-05, allocations: 3.578 kB / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003356/0.003385, allocations: 1.702 MB / 295.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004492, allocations: 0.5541 MB / 296.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.004556, allocations: 0 / 296.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.004877, allocations: 159.4 kB / 296.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.005149, allocations: 135.5 kB / 296.7 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.005429, allocations: 91.58 kB / 296.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.005623, allocations: 99.73 kB / 296.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.005722, allocations: 15.97 kB / 296.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.005873, allocations: 75.81 kB / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.006, allocations: 63.86 kB / 297 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.006018, allocations: 4 kB / 297 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.006129, allocations: 51.86 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.006191, allocations: 23.86 kB / 297.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.006221, allocations: 11.94 kB / 297.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.006424, allocations: 103.6 kB / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.006438, allocations: 0 / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00644, allocations: 0 / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.006451, allocations: 4 kB / 297.2 MB, free: 1.98 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.0007403/0.007191, allocations: 356.9 kB / 297.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.007232, allocations: 12.86 kB / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.007271, allocations: 12.88 kB / 297.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.007454, allocations: 145.5 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.007466, allocations: 8.375 kB / 297.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.007488, allocations: 384 / 297.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.00762, allocations: 58.94 kB / 297.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007633, allocations: 4.188 kB / 297.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.007642, allocations: 384 / 297.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.007649, allocations: 4.375 kB / 297.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.007686, allocations: 15.92 kB / 297.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.008002, allocations: 175 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.008079, allocations: 30.56 kB / 298 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.008097, allocations: 8.859 kB / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.008118, allocations: 0 / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.008143, allocations: 34.56 kB / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.008145, allocations: 0 / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007237/0.008868, allocations: 169.7 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.0089, allocations: 51.41 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.009094, allocations: 210.9 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.009107, allocations: 25.7 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.009174, allocations: 96.11 kB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.009209, allocations: 31.72 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.009243, allocations: 21.72 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.009322, allocations: 326.8 kB / 299 MB, free: 64 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.00935, allocations: 7.984 kB / 299 MB, free: 56 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.009364, allocations: 8 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.009402, allocations: 28.83 kB / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009404, allocations: 0 / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.231e-05/0.009496, allocations: 65.55 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.009512, allocations: 6.812 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.009518, allocations: 4 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.009528, allocations: 3.938 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.009612, allocations: 15.98 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.009615, allocations: 0 / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.009639, allocations: 4 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009645, allocations: 4 kB / 299.1 MB, free: 15.91 MB / 298.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 6.978e-05/0.009715, allocations: 116.7 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.009737, allocations: 11.92 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.009868, allocations: 79.06 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00987, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.009871, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.009874, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.01015, allocations: 259.9 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01016, allocations: 4 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.01021, allocations: 19.98 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01022, allocations: 15.91 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.01022, allocations: 4.031 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01023, allocations: 7.984 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01023, allocations: 80 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.01024, allocations: 7.922 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.01033, allocations: 160.3 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01034, allocations: 8 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.01038, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.0104, allocations: 7.984 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.0104, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.01047, allocations: 80.88 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01047, allocations: 4 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.01062, allocations: 23.92 kB / 299.9 MB, free: 15.05 MB / 298.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.002061/0.01268, allocations: 0.6076 MB / 300.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.01281, allocations: 32.78 kB / 300.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.01282, allocations: 4 kB / 300.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.01287, allocations: 28.83 kB / 300.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01319, allocations: 91.27 kB / 300.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.01383, allocations: 257.2 kB / 300.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.01389, allocations: 75.42 kB / 301 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.01394, allocations: 17.17 kB / 301 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.01401, allocations: 63.38 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01401, allocations: 0 / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003992/0.018, allocations: 1.533 MB / 302.6 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.80799378734082]