Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.0007499/0.0007499, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001803, 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.0006893/0.0006893, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008967/0.001586, 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.9365/0.9365, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.04, 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.2652/0.2652, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0432/0.3084, allocations: 13.24 MB / 292.8 MB, free: 6.391 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.CombiTable1Dv.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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.617e-05, allocations: 5.641 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002005/0.002021, allocations: 1.703 MB / 295.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.002723, allocations: 0.5678 MB / 296.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.002768, allocations: 0 / 296.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.002965, allocations: 151.5 kB / 296.6 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.003227, allocations: 135.3 kB / 296.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.003496, allocations: 123.6 kB / 296.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003633, allocations: 99.73 kB / 296.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.003697, allocations: 8 kB / 296.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.00379, allocations: 75.8 kB / 297 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.003875, allocations: 67.86 kB / 297.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.003886, allocations: 4 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.00396, allocations: 43.86 kB / 297.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.004002, allocations: 27.92 kB / 297.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.004026, allocations: 15.88 kB / 297.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004175, allocations: 95.67 kB / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.004185, allocations: 0 / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004185, allocations: 4 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.004193, allocations: 0 / 297.2 MB, free: 1.938 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.0003077/0.004501, allocations: 356.8 kB / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.004527, allocations: 8.922 kB / 297.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.004552, allocations: 16.92 kB / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.004664, allocations: 153.4 kB / 297.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.004671, allocations: 4.375 kB / 297.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.004686, allocations: 4.375 kB / 297.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/0.004753, allocations: 58.94 kB / 297.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.004759, allocations: 192 / 297.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.004767, allocations: 12.36 kB / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.004771, allocations: 384 / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.00479, allocations: 11.94 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.004973, allocations: 179 kB / 298 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.005023, allocations: 37.45 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.005035, allocations: 4.859 kB / 298.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.00505, allocations: 4 kB / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.005067, allocations: 34.64 kB / 298.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005068, allocations: 0 / 298.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003661/0.005434, allocations: 161.3 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.005456, allocations: 55.41 kB / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.005572, allocations: 206.9 kB / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005583, allocations: 29.7 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.005613, allocations: 96.09 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.005635, allocations: 35.67 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.005665, allocations: 21.72 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.005752, allocations: 330.8 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.005764, allocations: 4 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.005775, allocations: 8 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.005808, allocations: 31.61 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.005808, allocations: 0 / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.08e-05/0.005869, allocations: 65.55 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.005879, allocations: 4 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.005883, allocations: 0 / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.005892, allocations: 0 / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.005955, allocations: 19.98 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.005957, allocations: 0 / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.005975, allocations: 4 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.00598, allocations: 3.984 kB / 299.2 MB, free: 15.85 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 5.653e-05/0.006037, allocations: 116.7 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.006055, allocations: 11.94 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/0.006154, allocations: 83.36 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006156, allocations: 0 / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006157, allocations: 0 / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006159, allocations: 0 / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.00638, allocations: 271.5 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006381, allocations: 0 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.00642, allocations: 19.98 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.006431, allocations: 15.94 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.006433, allocations: 0 / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.006438, allocations: 0 / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006441, allocations: 4 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006442, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.196e-05/0.006524, allocations: 164.7 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006535, allocations: 4 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.006567, allocations: 3.984 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.00659, allocations: 7.984 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.006595, allocations: 7.984 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.006649, allocations: 72.89 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00665, allocations: 7.938 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006786, allocations: 23.94 kB / 300 MB, free: 14.98 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.00138/0.008166, allocations: 0.6119 MB / 300.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008271, allocations: 36.83 kB / 300.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.008277, allocations: 4 kB / 300.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.008313, allocations: 24.78 kB / 300.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.008518, allocations: 87.33 kB / 300.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.009073, allocations: 269.7 kB / 301 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.009117, allocations: 75.33 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.009166, allocations: 16.7 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.00924, allocations: 59.38 kB / 301.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00924, allocations: 0 / 301.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Templates: time 0.00321/0.01245, allocations: 1.556 MB / 302.7 MB, free: 12.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.7621527491137385]