Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.000944/0.000944, allocations: 88.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.0009468/0.0009468, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8816/0.8816, allocations: 177 MB / 205.2 MB, free: 5.039 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.2448/0.2448, allocations: 34.86 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.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.527e-05, allocations: 5.406 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001954/0.001969, allocations: 1.646 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003138, allocations: 1.293 MB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.003197, allocations: 0 / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.003404, allocations: 27.73 kB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.003659, allocations: 91.55 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.003882, allocations: 107.7 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003998, allocations: 75.7 kB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.004078, allocations: 15.92 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.004133, allocations: 27.92 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.004216, allocations: 31.89 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.004228, allocations: 4 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.004406, allocations: 87.88 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.004439, allocations: 15.94 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.004462, allocations: 23.91 kB / 329.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004626, allocations: 127.6 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004627, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004628, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.004631, allocations: 0 / 329.5 MB, free: 3.582 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.0002882/0.004919, allocations: 302.4 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.004949, allocations: 12.03 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.004975, allocations: 8.922 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.005091, allocations: 129.6 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.005098, allocations: 8.375 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.005113, allocations: 4.375 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.459e-05/0.005208, allocations: 94.38 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005216, allocations: 4.172 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.005222, allocations: 384 / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.005225, allocations: 384 / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/0.005244, allocations: 7.938 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.005423, allocations: 171 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.005534, allocations: 33.39 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.00555, allocations: 16.91 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.005563, allocations: 8 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.00558, allocations: 30.56 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.00558, allocations: 0 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000221/0.005801, allocations: 85.56 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.00583, allocations: 77.11 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.005911, allocations: 143.3 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005922, allocations: 29.7 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.005954, allocations: 96.06 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.005968, allocations: 11.91 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.005993, allocations: 21.7 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.006178, allocations: 322.8 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.006187, allocations: 7.938 kB / 331.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.006211, allocations: 47.41 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.006236, allocations: 15.69 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006237, allocations: 0 / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.783e-05/0.006285, allocations: 57.86 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.006293, allocations: 4 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006297, allocations: 7.875 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006307, allocations: 0 / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.228e-05/0.006339, allocations: 11.94 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.006341, allocations: 4 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.006359, allocations: 8.016 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.006364, allocations: 0 / 331.2 MB, free: 1.645 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 4.916e-05/0.006413, allocations: 116.6 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.006429, allocations: 8 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.006503, allocations: 58.08 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006505, allocations: 4 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006506, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.006509, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.006673, allocations: 214.8 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006674, allocations: 0 / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.006698, allocations: 15.98 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.0067, allocations: 3.938 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-06/0.006704, allocations: 0 / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.006706, allocations: 4 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006707, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.00677, allocations: 143.5 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.00678, allocations: 11.95 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006792, allocations: 8.188 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.006823, allocations: 4 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.006843, allocations: 7.984 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.006845, allocations: 4 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.173e-05/0.006877, allocations: 32.59 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006877, allocations: 0 / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.007032, allocations: 43.86 kB / 331.9 MB, free: 0.918 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.001129/0.008161, allocations: 0.6024 MB / 332.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.547e-05/0.008226, allocations: 24.8 kB / 332.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008229, allocations: 4 kB / 332.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.008244, allocations: 16.84 kB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.008377, allocations: 19.42 kB / 332.6 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.008609, allocations: 170.7 kB / 332.7 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.008639, allocations: 59.34 kB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.008675, allocations: 20.22 kB / 332.8 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.008733, allocations: 71.34 kB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008733, allocations: 0 / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of Templates: time 0.003382/0.01212, allocations: 1.991 MB / 334.9 MB, free: 14.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.7788916900753975]