Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009604/0.0009604, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009986/0.0009986, allocations: 153.5 kB / 24.99 MB, free: 8.219 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.9417/0.9417, allocations: 177 MB / 205.2 MB, free: 5.535 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.2509/0.2509, allocations: 34.86 MB / 296.6 MB, free: 0.5469 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.556e-05, allocations: 2.312 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00231/0.002336, allocations: 1.705 MB / 380.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003564, allocations: 1.293 MB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.00364, allocations: 4 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.003876, allocations: 27.78 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.004212, allocations: 83.5 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.004472, allocations: 127.6 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.004608, allocations: 75.72 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.004704, allocations: 19.97 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.004776, allocations: 35.91 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.00488, allocations: 27.91 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004895, allocations: 4 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.005035, allocations: 99.75 kB / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.00509, allocations: 15.92 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.005119, allocations: 23.91 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.005336, allocations: 135.6 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005339, allocations: 0 / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005341, allocations: 0 / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.005346, allocations: 4 kB / 382.4 MB, free: 14.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004206/0.005767, allocations: 431.9 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.005802, allocations: 11.97 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.005849, allocations: 16.89 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.005997, allocations: 136.5 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.006007, allocations: 4.375 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.006029, allocations: 4.375 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.006175, allocations: 108 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.006184, allocations: 4.125 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.006193, allocations: 384 / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006199, allocations: 4.375 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.006237, allocations: 15.92 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.006521, allocations: 283.7 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.006589, allocations: 39 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.006615, allocations: 19.77 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.006633, allocations: 3.984 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.006659, allocations: 37.33 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.00666, allocations: 0 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000395/0.007055, allocations: 137.5 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.007097, allocations: 77.11 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.00722, allocations: 193.9 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.007232, allocations: 25.7 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.007283, allocations: 142.8 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.007307, allocations: 23.84 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.007341, allocations: 27.38 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.007463, allocations: 0.4884 MB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.007488, allocations: 8 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.007533, allocations: 57.06 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.007581, allocations: 31.62 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007582, allocations: 4.031 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.77e-05/0.00768, allocations: 73.56 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.007693, allocations: 4 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007698, allocations: 0 / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.007712, allocations: 4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.007798, allocations: 15.98 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007803, allocations: 0 / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.00783, allocations: 7.984 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.007836, allocations: 4 kB / 384.8 MB, free: 12.05 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 (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 6.892e-05/0.007905, allocations: 168.5 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.00793, allocations: 15.84 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.008105, allocations: 86.69 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008109, allocations: 0 / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008113, allocations: 0 / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.008118, allocations: 0 / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.00843, allocations: 345.3 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008432, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.008482, allocations: 15.98 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008485, allocations: 0 / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.008492, allocations: 4 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.008495, allocations: 8 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.008497, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.008623, allocations: 223.8 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.008634, allocations: 7.953 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.008648, allocations: 4 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.008689, allocations: 4 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.008723, allocations: 3.984 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.008729, allocations: 4 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.008793, allocations: 153.3 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008793, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.009003, allocations: 47.86 kB / 385.9 MB, free: 10.9 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 (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.001096/0.0101, allocations: 478.7 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01022, allocations: 35.67 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01022, allocations: 8 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.01025, allocations: 27.61 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01048, allocations: 26.89 kB / 386.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.01088, allocations: 190.4 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.01091, allocations: 67.34 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.01097, allocations: 24.28 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.011, allocations: 16.5 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.01101, allocations: 0 / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003822/0.01483, allocations: 1.976 MB / 388.7 MB, free: 8.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.99038032698445]