Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0009546/0.0009546, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.000971/0.000971, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.9206/0.9206, allocations: 177 MB / 205.2 MB, free: 5.598 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.2356/0.2356, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.423e-05, allocations: 6.312 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.005666/0.00569, allocations: 1.711 MB / 380.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.006505, allocations: 0.5718 MB / 381.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.006565, allocations: 4 kB / 381.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.006813, allocations: 71.7 kB / 381.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.00708, allocations: 107.5 kB / 381.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.01043, allocations: 179.4 kB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.01059, allocations: 95.73 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.01069, allocations: 16.22 kB / 381.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.01076, allocations: 55.81 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.01085, allocations: 51.88 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.01087, allocations: 4 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.01096, allocations: 47.92 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.01102, allocations: 23.92 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.01105, allocations: 23.91 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.01123, allocations: 103.5 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01123, allocations: 4 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01123, allocations: 0 / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.01123, allocations: 0 / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004262/0.01166, allocations: 451.9 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.0117, allocations: 12.03 kB / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.01174, allocations: 16.84 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.0119, allocations: 152.9 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.01191, allocations: 8.375 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.01193, allocations: 4.312 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.01205, allocations: 66.94 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01206, allocations: 8.188 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.01208, allocations: 4.375 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01208, allocations: 384 / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.01213, allocations: 15.92 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.01247, allocations: 311.6 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01263, allocations: 50.98 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.01266, allocations: 19.81 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.01268, allocations: 0 / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.0127, allocations: 41.36 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.0127, allocations: 4 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.003689/0.01639, allocations: 241.2 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01642, allocations: 55.41 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01657, allocations: 237.9 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.01659, allocations: 25.7 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.01665, allocations: 158.8 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01668, allocations: 43.69 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.01673, allocations: 27.38 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01685, allocations: 0.5 MB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.01689, allocations: 19.98 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.01693, allocations: 19.92 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.01701, allocations: 47.62 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01701, allocations: 0 / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001391/0.01715, allocations: 93.58 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01716, allocations: 4 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01716, allocations: 3.984 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01718, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.01726, allocations: 36.48 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01727, allocations: 0 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.0173, allocations: 4 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.01731, allocations: 4 kB / 384.5 MB, free: 12.46 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 (11): * Single equations (assignments): 11 * 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 7.699e-05/0.01739, allocations: 168.4 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01742, allocations: 15.91 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.01761, allocations: 111.1 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01761, allocations: 0 / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01762, allocations: 0 / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01762, allocations: 4 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.01802, allocations: 428.5 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01802, allocations: 0 / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.01809, allocations: 27.92 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01809, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.0181, allocations: 8 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01811, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01811, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.0183, allocations: 271.5 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.01831, allocations: 15.97 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01833, allocations: 3.984 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.01839, allocations: 8 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.01843, allocations: 11.92 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.01844, allocations: 4 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.44e-05/0.01852, allocations: 172.2 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01852, allocations: 0 / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.01877, allocations: 31.92 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003999/0.02277, allocations: 426.8 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.02292, allocations: 71.47 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02292, allocations: 0 / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.02297, allocations: 39.61 kB / 386.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.02326, allocations: 27.36 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.0237, allocations: 292.9 kB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.02376, allocations: 71.33 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.02383, allocations: 28.59 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.02387, allocations: 20.5 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02387, allocations: 0 / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.006823/0.03069, allocations: 1.658 MB / 388.3 MB, free: 8.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.000862451037392]