Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009538/0.0009538, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.000978/0.000978, allocations: 160.5 kB / 24.55 MB, free: 16 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.9687/0.9687, allocations: 177 MB / 204.8 MB, free: 5.578 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.2817/0.2817, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.744e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002367/0.002385, allocations: 1.718 MB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.003327, allocations: 0.5759 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.003412, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.003955, allocations: 455.1 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.004363, allocations: 295.1 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.004699, allocations: 179.5 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.004965, allocations: 179.7 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005077, allocations: 12.17 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.005206, allocations: 131.7 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.005447, allocations: 239.6 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.005467, allocations: 4 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.005568, allocations: 55.91 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.005654, allocations: 83.7 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.005696, allocations: 35.75 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.005931, allocations: 227 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005933, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005934, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005939, allocations: 0 / 382.9 MB, free: 13.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006132/0.006552, allocations: 0.7009 MB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.00659, allocations: 12.03 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.006652, allocations: 48.64 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.00685, allocations: 240.9 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.006861, allocations: 4.375 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006884, allocations: 8.359 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.007011, allocations: 70.88 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007021, allocations: 192 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.007032, allocations: 4.375 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.00704, allocations: 4.312 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.007076, allocations: 19.92 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.007543, allocations: 443.5 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.007616, allocations: 39.06 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.00764, allocations: 15.77 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.007659, allocations: 3.938 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.007683, allocations: 41.42 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.007684, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.008265, allocations: 256.6 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.008294, allocations: 59.41 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.00872, allocations: 0.6238 MB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.008731, allocations: 25.7 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.008867, allocations: 286.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.008894, allocations: 27.75 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.008928, allocations: 31.36 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.009149, allocations: 0.5508 MB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.009173, allocations: 15.98 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.009191, allocations: 8 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.00925, allocations: 43.59 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.009251, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001104/0.009361, allocations: 109.4 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009374, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009379, allocations: 0 / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009393, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.009467, allocations: 15.98 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009472, allocations: 0 / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.0095, allocations: 4 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.009508, allocations: 0 / 386.6 MB, free: 9.98 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 (8): * Single equations (assignments): 8 * 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 9.389e-05/0.009602, allocations: 168.5 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.009639, allocations: 47.67 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.009793, allocations: 117.8 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009795, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009799, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009802, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.01022, allocations: 0.5048 MB / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01022, allocations: 3.938 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.01026, allocations: 19.98 kB / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01026, allocations: 4 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01027, allocations: 8.391 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01028, allocations: 8 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01028, allocations: 0 / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.01057, allocations: 267.2 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.01059, allocations: 39.7 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.0106, allocations: 0 / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.01065, allocations: 11.98 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.01068, allocations: 11.92 kB / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01069, allocations: 0 / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.01094, allocations: 430.8 kB / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01094, allocations: 0 / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01113, allocations: 35.88 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009583/0.01209, allocations: 425.9 kB / 388.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01221, allocations: 39.67 kB / 388.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01221, allocations: 0 / 388.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.01225, allocations: 27.61 kB / 388.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01249, allocations: 40.44 kB / 388.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.01309, allocations: 0.604 MB / 389.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.01316, allocations: 123.2 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01321, allocations: 24.7 kB / 389.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.01324, allocations: 16.5 kB / 389.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01324, allocations: 0 / 389.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of Templates: time 0.004432/0.01767, allocations: 1.753 MB / 391.3 MB, free: 5.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.0963530908338726]