Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009192/0.0009192, allocations: 84.73 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.000959/0.000959, allocations: 160.2 kB / 24.91 MB, free: 8.262 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.9582/0.9582, allocations: 177 MB / 205.2 MB, free: 5.465 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.2559/0.2559, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.205e-05, allocations: 3.016 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002053/0.002075, allocations: 1.656 MB / 327.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.002729, allocations: 0.5368 MB / 328.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.002775, allocations: 4 kB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.002995, allocations: 71.7 kB / 328.2 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.003208, allocations: 107.5 kB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.003379, allocations: 95.62 kB / 328.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.003498, allocations: 83.75 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.003565, allocations: 11.94 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.003629, allocations: 47.88 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.003705, allocations: 39.91 kB / 328.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.003718, allocations: 4 kB / 328.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.003784, allocations: 47.91 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.003822, allocations: 19.92 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.003842, allocations: 11.94 kB / 328.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003963, allocations: 87.66 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003964, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003965, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.003967, allocations: 0 / 328.7 MB, free: 4.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002759/0.004243, allocations: 318.3 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.00427, allocations: 12.03 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.004294, allocations: 12.92 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.004402, allocations: 141.5 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-06/0.004409, allocations: 4.375 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004424, allocations: 384 / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.004697, allocations: 58.94 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004704, allocations: 4.188 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.00471, allocations: 384 / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.004714, allocations: 384 / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.004735, allocations: 11.94 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.00491, allocations: 179 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.004954, allocations: 26.67 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.004966, allocations: 8.844 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.00498, allocations: 4 kB / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.004997, allocations: 34.56 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004997, allocations: 0 / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.005347, allocations: 149.8 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.005373, allocations: 55.34 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.005467, allocations: 177 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.005476, allocations: 25.7 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.005503, allocations: 92.11 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.005529, allocations: 31.73 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.005554, allocations: 21.7 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.00562, allocations: 326.8 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.005633, allocations: 11.94 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.005643, allocations: 4 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.005675, allocations: 28.83 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005675, allocations: 0 / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.492e-05/0.00573, allocations: 65.77 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.00574, allocations: 12 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.005743, allocations: 0 / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.005752, allocations: 96 / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.005805, allocations: 19.97 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.005807, allocations: 0 / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.005824, allocations: 8 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.00583, allocations: 4 kB / 330.6 MB, free: 2.359 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.979e-05/0.005879, allocations: 112.7 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.005896, allocations: 11.94 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.005983, allocations: 75.06 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005984, allocations: 4 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005985, allocations: 0 / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005987, allocations: 4 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.006188, allocations: 251.5 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006189, allocations: 0 / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.00622, allocations: 15.98 kB / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006222, allocations: 0 / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.006227, allocations: 4 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.006229, allocations: 4 kB / 331 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00623, allocations: 0 / 331 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.385e-05/0.006304, allocations: 164.3 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.006312, allocations: 7.953 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.006322, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.006355, allocations: 11.98 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.006376, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.00638, allocations: 4 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.006419, allocations: 52.33 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006419, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.006552, allocations: 23.94 kB / 331.3 MB, free: 1.559 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.001135/0.007687, allocations: 0.5621 MB / 331.8 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.007751, allocations: 32.8 kB / 331.9 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.007754, allocations: 4 kB / 331.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.007777, allocations: 28.78 kB / 331.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.00792, allocations: 20.92 kB / 331.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.008184, allocations: 216.3 kB / 332.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.008217, allocations: 67.34 kB / 332.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.008247, allocations: 13.03 kB / 332.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.008293, allocations: 59.38 kB / 332.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008294, allocations: 4.062 kB / 332.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of Templates: time 0.002741/0.01103, allocations: 1.484 MB / 333.8 MB, free: 15.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.7628767918795347]