Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009345/0.0009345, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009973/0.0009973, allocations: 166.2 kB / 24.91 MB, free: 8.758 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 0.9502/0.9502, allocations: 177 MB / 205.2 MB, free: 5.445 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.2427/0.2427, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.712e-05, allocations: 8.391 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002306/0.002323, allocations: 1.644 MB / 327.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003695, allocations: 1.285 MB / 328.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.00376, allocations: 4 kB / 328.9 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.00398, allocations: 23.84 kB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.004222, allocations: 95.42 kB / 329 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.00439, allocations: 87.7 kB / 329.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.004501, allocations: 67.77 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.004572, allocations: 8 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.004629, allocations: 39.89 kB / 329.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.004714, allocations: 23.92 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.004728, allocations: 4 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.004843, allocations: 91.81 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.004879, allocations: 15.97 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.004905, allocations: 11.94 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.005078, allocations: 135.5 kB / 329.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00508, allocations: 0 / 329.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005081, allocations: 3.938 kB / 329.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.005084, allocations: 0 / 329.5 MB, free: 3.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003385/0.005422, allocations: 302.5 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005456, allocations: 16.03 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.005484, allocations: 4.938 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.005617, allocations: 125.7 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.005626, allocations: 4.375 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.005645, allocations: 384 / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.005767, allocations: 102.3 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005775, allocations: 192 / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.005782, allocations: 384 / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005787, allocations: 384 / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.005809, allocations: 11.92 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.005995, allocations: 167 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.006117, allocations: 30.56 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.006133, allocations: 16.92 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006149, allocations: 3.938 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.006169, allocations: 34.56 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.00617, allocations: 0 / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002567/0.006426, allocations: 85.55 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.006465, allocations: 77.11 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.006565, allocations: 140.3 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006579, allocations: 33.7 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.006616, allocations: 96.08 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.006636, allocations: 15.83 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.006663, allocations: 17.72 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.006758, allocations: 322.8 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.006767, allocations: 4 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.0068, allocations: 47.34 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.006837, allocations: 25.03 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006839, allocations: 3.984 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.852e-05/0.006898, allocations: 45.69 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.00691, allocations: 8 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.006917, allocations: 3.938 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006928, allocations: 4.031 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.006969, allocations: 11.94 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006972, allocations: 0 / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.006993, allocations: 7.984 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.006997, allocations: 0 / 331.2 MB, free: 1.707 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 (5): * Single equations (assignments): 5 * 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.791e-05/0.007055, allocations: 108.7 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.007072, allocations: 8 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.007159, allocations: 62.08 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007161, allocations: 0 / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.007162, allocations: 0 / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007165, allocations: 4 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.007347, allocations: 206.8 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007348, allocations: 0 / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.007373, allocations: 11.98 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.007377, allocations: 7.938 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.007382, allocations: 4 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007383, allocations: 0 / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007384, allocations: 3.938 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.062e-05/0.007455, allocations: 147.7 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.007464, allocations: 15.94 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.007475, allocations: 7.938 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.007507, allocations: 8 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.007525, allocations: 3.984 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007527, allocations: 0 / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.007557, allocations: 29.55 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007557, allocations: 0 / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.007705, allocations: 39.86 kB / 331.8 MB, free: 0.9883 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 (5): * Single equations (assignments): 5 * 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.001274/0.008979, allocations: 0.6086 MB / 332.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.009046, allocations: 20.86 kB / 332.5 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009048, allocations: 7.938 kB / 332.5 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.009067, allocations: 20.97 kB / 332.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.009205, allocations: 19.58 kB / 332.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.009448, allocations: 170.9 kB / 332.7 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.00948, allocations: 59.34 kB / 332.7 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.009513, allocations: 15.92 kB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.00957, allocations: 63.36 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009571, allocations: 4 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of Templates: time 0.003536/0.01311, allocations: 1.976 MB / 334.8 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.830994827672839]