Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 166.9 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9089/0.9089, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.906e-06/1.009e-05, allocations: 2.312 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001799/0.001809, allocations: 1.681 MB / 378.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006198/0.002429, allocations: 0.5376 MB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.002477, allocations: 0 / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.002653, allocations: 43.62 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.002844, allocations: 83.56 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003003, allocations: 91.69 kB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003115, allocations: 87.75 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.003191, allocations: 19.98 kB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.003248, allocations: 47.83 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.003307, allocations: 23.97 kB / 379.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.00332, allocations: 15.94 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.003385, allocations: 47.91 kB / 379.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.003418, allocations: 19.92 kB / 379.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.00344, allocations: 19.92 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003557, allocations: 91.59 kB / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003559, allocations: 7.984 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00356, allocations: 0 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.394e-06/0.003562, allocations: 0 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003336/0.003896, allocations: 428 kB / 379.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.003923, allocations: 12.03 kB / 379.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.003951, allocations: 16.89 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004053, allocations: 154.8 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.004059, allocations: 384 / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.004075, allocations: 8.328 kB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.004154, allocations: 70.94 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004161, allocations: 192 / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004168, allocations: 4.125 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.004171, allocations: 0 / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.004199, allocations: 19.97 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.004418, allocations: 280.3 kB / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.004473, allocations: 59.02 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.004488, allocations: 19.62 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.004505, allocations: 4.094 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.00454, allocations: 45.27 kB / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.004541, allocations: 0 / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004451/0.004986, allocations: 210 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.005008, allocations: 59.41 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.005109, allocations: 204.8 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005119, allocations: 33.7 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.005163, allocations: 150.8 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.005189, allocations: 43.58 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.005223, allocations: 39.34 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.005321, allocations: 0.4961 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.005338, allocations: 11.98 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.005355, allocations: 12 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.0054, allocations: 51.03 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.0054, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.715e-05/0.005487, allocations: 93.59 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.005497, allocations: 7.984 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.0055, allocations: 4 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.005507, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.005571, allocations: 27.92 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005573, allocations: 0 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.005593, allocations: 11.94 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.005598, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.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 (13): * Single equations (assignments): 13 * 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.477e-05/0.005653, allocations: 156.6 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.005673, allocations: 11.95 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.005794, allocations: 118.3 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.005796, allocations: 8 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.005797, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.0058, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.006071, allocations: 393.4 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006072, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.006114, allocations: 24 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.006118, allocations: 7.984 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.006122, allocations: 3.938 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006124, allocations: 3.938 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006125, allocations: 4 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006237, allocations: 243.6 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.006246, allocations: 7.953 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.006256, allocations: 4 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.006293, allocations: 11.94 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.006313, allocations: 11.98 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.006319, allocations: 7.984 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.006364, allocations: 143.2 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006364, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.006527, allocations: 27.98 kB / 383 MB, free: 13.58 MB / 362.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 (13): * Single equations (assignments): 13 * 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.0007614/0.007289, allocations: 445.2 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.00737, allocations: 63.59 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007371, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.007408, allocations: 35.66 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.007595, allocations: 32.08 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.007849, allocations: 230.3 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.495e-05/0.007884, allocations: 71.34 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.00792, allocations: 16.56 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.007977, allocations: 86.19 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007977, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.00285/0.01083, allocations: 1.72 MB / 385.7 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.6485770386643708]