Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001016/0.001016, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001494/0.001494, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9747/0.9747, allocations: 177 MB / 204.8 MB, free: 5.594 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.2748/0.2748, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.8e-05, allocations: 6.312 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003482/0.00351, allocations: 1.706 MB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005399, allocations: 1.297 MB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.005457, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.005626, allocations: 19.8 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005948, allocations: 91.53 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.006248, allocations: 131.6 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.006392, allocations: 79.7 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.006481, allocations: 11.98 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.006553, allocations: 35.91 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.006654, allocations: 31.89 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.006675, allocations: 4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.006845, allocations: 95.81 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.006906, allocations: 23.92 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.006935, allocations: 15.92 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.007198, allocations: 143.5 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.007201, allocations: 0 / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007202, allocations: 0 / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.007206, allocations: 0 / 382.5 MB, free: 14.41 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.0004909/0.007697, allocations: 435.9 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.007738, allocations: 8.031 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.007789, allocations: 8.891 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.00798, allocations: 140.5 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.007989, allocations: 8.359 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.008011, allocations: 4.375 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.008144, allocations: 112 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.008152, allocations: 192 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.00816, allocations: 4.359 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.008168, allocations: 384 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.008201, allocations: 15.88 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.00847, allocations: 279.7 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.008536, allocations: 35.06 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.008559, allocations: 19.77 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.008579, allocations: 4 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.008603, allocations: 45.27 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.008604, allocations: 3.938 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003795/0.008983, allocations: 125.5 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.009018, allocations: 81.11 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.00913, allocations: 197.9 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.00914, allocations: 25.7 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.009189, allocations: 142.8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.009212, allocations: 27.84 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.009243, allocations: 23.38 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.009354, allocations: 0.4923 MB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.009372, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.009419, allocations: 53.06 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.009466, allocations: 31.69 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.009467, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.35e-05/0.009561, allocations: 77.52 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.009574, allocations: 7.984 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.009578, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.009596, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.009668, allocations: 16.03 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.009674, allocations: 7.984 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.009699, allocations: 4 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.009705, allocations: 0 / 384.9 MB, free: 11.76 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 0.0002522/0.009957, allocations: 160.6 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.00998, allocations: 15.84 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.01011, allocations: 94.59 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01011, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01011, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01012, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01036, allocations: 341.3 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01036, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.0104, allocations: 19.98 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01041, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01041, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01041, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01042, allocations: 3.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.01053, allocations: 219.8 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.01054, allocations: 7.953 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.01055, allocations: 4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.01059, allocations: 11.98 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.01062, allocations: 4.281 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.01063, allocations: 7.922 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.01068, allocations: 153.4 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01087, allocations: 39.86 kB / 385.9 MB, free: 10.61 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.0009818/0.01186, allocations: 477.9 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01196, allocations: 47.66 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01196, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.01199, allocations: 27.62 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01218, allocations: 30.64 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.01249, allocations: 194.4 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.01253, allocations: 67.28 kB / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.01257, allocations: 16.28 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.0126, allocations: 24.48 kB / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0126, allocations: 0 / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Templates: time 0.003611/0.01621, allocations: 1.968 MB / 388.8 MB, free: 7.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.392728145699948]