Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001062/0.001062, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001099/0.001099, allocations: 166.2 kB / 25.61 MB, free: 8.441 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.9856/0.9856, allocations: 177 MB / 205.9 MB, free: 4.457 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.1645/0.1645, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.683e-05, allocations: 3.969 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003254/0.003281, allocations: 1.675 MB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.005078, allocations: 1.312 MB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.005167, allocations: 3.938 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.005445, allocations: 31.78 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.005838, allocations: 87.55 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.006311, allocations: 179.4 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.006497, allocations: 79.77 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.006623, allocations: 11.94 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.006714, allocations: 43.89 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.006852, allocations: 35.89 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.006872, allocations: 4 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.007075, allocations: 87.88 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.007144, allocations: 15.94 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.007182, allocations: 19.92 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.00746, allocations: 151.4 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007463, allocations: 0 / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.007464, allocations: 0 / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.007469, allocations: 0 / 383.8 MB, free: 18.98 MB / 314.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.0004901/0.007959, allocations: 432 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.008001, allocations: 8.031 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.00805, allocations: 16.89 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.008224, allocations: 145.9 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.008237, allocations: 4.312 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.008262, allocations: 8.359 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.008448, allocations: 116 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.008467, allocations: 192 / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.00848, allocations: 384 / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.008491, allocations: 4.375 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.008538, allocations: 11.94 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.00896, allocations: 272.4 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.009061, allocations: 39.05 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.00909, allocations: 11.69 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.009113, allocations: 0 / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.009147, allocations: 37.39 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.009149, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005502/0.009699, allocations: 129.4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.009757, allocations: 81.11 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.009924, allocations: 196.3 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.00994, allocations: 29.7 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.01, allocations: 146.8 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.01004, allocations: 23.8 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.01009, allocations: 35.34 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01022, allocations: 496.1 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.01025, allocations: 11.98 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.01031, allocations: 49.08 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.01038, allocations: 31.66 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01038, allocations: 4.031 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.01052, allocations: 69.52 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01054, allocations: 8 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01054, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01056, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01067, allocations: 15.98 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01068, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.01073, allocations: 4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.01073, allocations: 4 kB / 386.1 MB, free: 16.35 MB / 314.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 (7): * Single equations (assignments): 7 * 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 8.934e-05/0.01082, allocations: 160.6 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.01087, allocations: 19.89 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01106, allocations: 82.69 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01106, allocations: 3.938 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01106, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01107, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.01142, allocations: 318 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01143, allocations: 7.938 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.0115, allocations: 15.98 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.0115, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01152, allocations: 7.938 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01152, allocations: 4 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01152, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.01171, allocations: 211.9 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.01173, allocations: 11.89 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01175, allocations: 4 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.01182, allocations: 7.984 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.01187, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01188, allocations: 4.281 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.01195, allocations: 151.1 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01195, allocations: 0 / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.01228, allocations: 43.86 kB / 387.2 MB, free: 15.25 MB / 314.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 (7): * Single equations (assignments): 7 * 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.001527/0.01381, allocations: 496 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01394, allocations: 35.66 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01394, allocations: 0 / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.01398, allocations: 27.62 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.0143, allocations: 26.45 kB / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.01468, allocations: 198.7 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.01472, allocations: 71.2 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.01479, allocations: 13.03 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.01487, allocations: 90.19 kB / 388.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01488, allocations: 0 / 388.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of Templates: time 0.004512/0.01939, allocations: 2.238 MB / 390.3 MB, free: 12.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.7135473010130227]