Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001232/0.001232, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001191/0.001191, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 1.061/1.061, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.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.2769/0.2769, allocations: 34.85 MB / 296.6 MB, free: 476 kB / 266.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.044e-05, allocations: 5.406 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002359/0.00238, allocations: 1.701 MB / 327.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003668, allocations: 1.293 MB / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.003717, allocations: 0 / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.003932, allocations: 19.86 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.004172, allocations: 91.48 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.004384, allocations: 91.62 kB / 329.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.004521, allocations: 75.83 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.004609, allocations: 11.98 kB / 329.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.004676, allocations: 43.84 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.004767, allocations: 27.89 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.004782, allocations: 4 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.004928, allocations: 95.81 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.004966, allocations: 15.94 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.00499, allocations: 23.97 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005191, allocations: 143.4 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005192, allocations: 0 / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005193, allocations: 0 / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005198, allocations: 0 / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003463/0.005544, allocations: 306.4 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.005581, allocations: 12.03 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.005612, allocations: 8.922 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.005759, allocations: 137.6 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.005767, allocations: 8.312 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.005786, allocations: 8.375 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.0059, allocations: 98.36 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005911, allocations: 192 / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.005919, allocations: 4.375 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.005924, allocations: 384 / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.005953, allocations: 15.92 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.00618, allocations: 179 kB / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.006236, allocations: 38.62 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.006253, allocations: 8.859 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.006271, allocations: 0 / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.006291, allocations: 38.69 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.006292, allocations: 0 / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002675/0.006559, allocations: 105.5 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.006592, allocations: 77.11 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.006684, allocations: 150.2 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.006695, allocations: 25.7 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.006725, allocations: 100 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.006748, allocations: 31.73 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.006777, allocations: 21.7 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.006854, allocations: 322.8 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.006865, allocations: 8 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.006897, allocations: 51.41 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.006931, allocations: 24.83 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.006931, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.945e-05/0.006991, allocations: 57.91 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.007004, allocations: 7.938 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007008, allocations: 80 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.00702, allocations: 11.86 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.00708, allocations: 12.38 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007084, allocations: 7.984 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.007106, allocations: 11.98 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007111, allocations: 8.031 kB / 331.5 MB, free: 1.418 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 4.922e-05/0.00716, allocations: 108.7 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.007182, allocations: 11.94 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.007278, allocations: 74.38 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007279, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.00728, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007283, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.007474, allocations: 226.8 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.007477, allocations: 3.938 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.007513, allocations: 23.92 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007516, allocations: 4 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.00752, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007521, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007522, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.0076, allocations: 155.5 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.007612, allocations: 19.88 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.007622, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.007657, allocations: 11.98 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.007677, allocations: 0 / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.007681, allocations: 3.984 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.007714, allocations: 44.03 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007714, allocations: 0 / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000156/0.00787, allocations: 35.88 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001321/0.009191, allocations: 0.6204 MB / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.00927, allocations: 32.83 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009273, allocations: 0 / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.009293, allocations: 24.8 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.009445, allocations: 27.42 kB / 332.9 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.009704, allocations: 195.2 kB / 333.1 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.00975, allocations: 63.34 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.009791, allocations: 12.72 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.009858, allocations: 67.36 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009858, allocations: 0 / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003429/0.01329, allocations: 2.086 MB / 335.3 MB, free: 13.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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: 3.0442831702530384]