Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.002126/0.002126, allocations: 89.77 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002614/0.002614, allocations: 157.6 kB / 23.95 MB, free: 4.152 MB / 14.72 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.527/1.527, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2201/0.2201, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/2.986e-05, allocations: 2.281 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003191/0.003221, allocations: 1.688 MB / 444.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004389, allocations: 0.5641 MB / 444.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.00447, allocations: 0 / 444.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.00509, allocations: 459 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.005606, allocations: 295.2 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.006101, allocations: 179 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.006396, allocations: 187.6 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.006502, allocations: 12.22 kB / 446 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006705, allocations: 127.8 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.007002, allocations: 247.6 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.00703, allocations: 4 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.007161, allocations: 51.86 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.007269, allocations: 91.7 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.007336, allocations: 43.67 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.007717, allocations: 255 kB / 446.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.00772, allocations: 0 / 446.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007721, allocations: 4 kB / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.007727, allocations: 0 / 446.9 MB, free: 1.078 MB / 366.1 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.0007879/0.008515, allocations: 0.5931 MB / 447.4 MB, free: 460 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.008553, allocations: 12.03 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.008638, allocations: 44.61 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.008934, allocations: 250 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.008948, allocations: 8.375 kB / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.008973, allocations: 8.375 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.009161, allocations: 66.23 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.009173, allocations: 192 / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.009183, allocations: 384 / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.009187, allocations: 384 / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2049/0.2141, allocations: 50.2 kB / 447.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.2148, allocations: 344.6 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2151, allocations: 58.61 kB / 448.3 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.2151, allocations: 36.56 kB / 448.3 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.2152, allocations: 4.781 kB / 448.3 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2152, allocations: 36.19 kB / 448.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.2152, allocations: 0 / 448.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001611/0.2168, allocations: 0.5003 MB / 448.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.2168, allocations: 52.56 kB / 448.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.2177, allocations: 0.865 MB / 449.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2177, allocations: 27.02 kB / 449.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2179, allocations: 218.1 kB / 450 MB, free: 18.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.2179, allocations: 39.52 kB / 450 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.218, allocations: 25.59 kB / 450.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.218, allocations: 366 kB / 450.4 MB, free: 18.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2182, allocations: 55.41 kB / 450.5 MB, free: 18.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2183, allocations: 56.45 kB / 450.5 MB, free: 18.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2186, allocations: 129.2 kB / 450.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2186, allocations: 0 / 450.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.219, allocations: 196.8 kB / 450.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.219, allocations: 4.125 kB / 450.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.219, allocations: 1.375 kB / 450.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.219, allocations: 0 / 450.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.2192, allocations: 36.08 kB / 450.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2192, allocations: 1.312 kB / 450.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.2192, allocations: 15.25 kB / 450.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2193, allocations: 2.531 kB / 450.9 MB, free: 18.02 MB / 366.1 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 0.0001769/0.2194, allocations: 219.9 kB / 451.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.2195, allocations: 50.8 kB / 451.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.22, allocations: 235.7 kB / 451.4 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.22, allocations: 1.406 kB / 451.4 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.22, allocations: 0 / 451.4 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.22, allocations: 3.281 kB / 451.4 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.2207, allocations: 0.5308 MB / 451.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2207, allocations: 3.688 kB / 451.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2208, allocations: 30.5 kB / 452 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2208, allocations: 2.906 kB / 452 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2209, allocations: 6.469 kB / 452 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2209, allocations: 1.375 kB / 452 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2209, allocations: 5.094 kB / 452 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.2212, allocations: 307.1 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2213, allocations: 36.86 kB / 452.3 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.2213, allocations: 7.5 kB / 452.3 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2214, allocations: 9.016 kB / 452.3 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.2215, allocations: 15.67 kB / 452.4 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2215, allocations: 8.578 kB / 452.4 MB, free: 17.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005704/0.2221, allocations: 0.6515 MB / 453 MB, free: 16.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2221, allocations: 0 / 453 MB, free: 16.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000291/0.2223, allocations: 37.28 kB / 453 MB, free: 16.92 MB / 366.1 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.001882/0.2242, allocations: 483.4 kB / 453.5 MB, free: 16.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2246, allocations: 129.1 kB / 453.6 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2246, allocations: 3.938 kB / 453.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2248, allocations: 64.52 kB / 453.7 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2253, allocations: 29.72 kB / 453.7 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2267, allocations: 0.8863 MB / 454.6 MB, free: 16.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.227, allocations: 237 kB / 454.9 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2271, allocations: 30.36 kB / 454.9 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.2272, allocations: 21.22 kB / 454.9 MB, free: 16.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2272, allocations: 0 / 454.9 MB, free: 16.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006612/0.2338, allocations: 1.789 MB / 456.7 MB, free: 15.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.999269414693117]