Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0009867/0.0009867, 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.007314/0.007314, allocations: 163.2 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 1.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.57 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.287/0.287, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.653e-05, allocations: 2.312 kB / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002169/0.002186, allocations: 1.652 MB / 380.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.002897, allocations: 0.5641 MB / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.002951, allocations: 0 / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.003399, allocations: 451 kB / 381.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.003744, allocations: 303.1 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.004009, allocations: 167.5 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.004193, allocations: 171.7 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.004281, allocations: 11.86 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.004378, allocations: 127.7 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.005018, allocations: 243.6 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.005048, allocations: 4 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.005138, allocations: 27.92 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.005264, allocations: 87.64 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.005328, allocations: 31.75 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.00563, allocations: 199.2 kB / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005632, allocations: 0 / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005632, allocations: 0 / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005636, allocations: 0 / 382.8 MB, free: 14.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005257/0.006162, allocations: 0.6892 MB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.006194, allocations: 8.031 kB / 383.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.006253, allocations: 52.58 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.006442, allocations: 244.9 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006459, allocations: 8.375 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.006468, allocations: 384 / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.006579, allocations: 54.94 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.006586, allocations: 4.188 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.006596, allocations: 8.375 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006604, allocations: 384 / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.006633, allocations: 15.86 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.00702, allocations: 427.7 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.007088, allocations: 35.05 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.007113, allocations: 11.69 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.007132, allocations: 4 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.007156, allocations: 41.38 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.007157, allocations: 4 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001733/0.00733, allocations: 93.38 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.007362, allocations: 59.39 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.007775, allocations: 0.6277 MB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.007784, allocations: 25.7 kB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.007928, allocations: 278.8 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.007947, allocations: 15.89 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.007977, allocations: 23.38 kB / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.008133, allocations: 0.547 MB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.00815, allocations: 7.984 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.008161, allocations: 0 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.008195, allocations: 27.62 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008197, allocations: 0 / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.892e-05/0.008276, allocations: 85.41 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.00829, allocations: 7.938 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.008296, allocations: 4 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.008309, allocations: 0 / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.008373, allocations: 7.984 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008378, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.008404, allocations: 4 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.008409, allocations: 0 / 386.2 MB, free: 10.73 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 (3): * Single equations (assignments): 3 * 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.965e-05/0.008489, allocations: 164.5 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.008522, allocations: 43.72 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.008646, allocations: 93 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.008648, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008652, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.008657, allocations: 4 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.008858, allocations: 276.5 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008859, allocations: 0 / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.008882, allocations: 4 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008885, allocations: 4 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008893, allocations: 11.98 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.008895, allocations: 3.938 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008896, allocations: 0 / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.009012, allocations: 235.6 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.009036, allocations: 35.66 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.00905, allocations: 0 / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.009089, allocations: 7.938 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.009104, allocations: 4.406 kB / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.009106, allocations: 0 / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.009361, allocations: 434.8 kB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009361, allocations: 0 / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.00952, allocations: 20 kB / 387.5 MB, free: 9.344 MB / 362.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 (3): * Single equations (assignments): 3 * 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.0006681/0.01019, allocations: 328.8 kB / 387.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.01027, allocations: 15.69 kB / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01027, allocations: 0 / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.01029, allocations: 23.61 kB / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01052, allocations: 34.38 kB / 387.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.0111, allocations: 0.5768 MB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.01118, allocations: 123.2 kB / 388.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.01121, allocations: 11.98 kB / 388.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01124, allocations: 16.48 kB / 388.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01124, allocations: 3.938 kB / 388.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003424/0.01466, allocations: 1.193 MB / 389.8 MB, free: 7.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.0936658799182624]