Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001731/0.001731, allocations: 85.91 kB / 22.22 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.001321/0.001321, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.119/1.119, 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.1609/0.1609, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.051e-05, allocations: 3.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001995/0.002015, allocations: 1.708 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006571/0.002672, allocations: 0.5446 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.002724, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.003115, allocations: 455 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.003434, allocations: 295.2 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003646, allocations: 135.6 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.003815, allocations: 167.7 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.003913, allocations: 11.94 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.004013, allocations: 131.6 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.004195, allocations: 243.6 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.004211, allocations: 7.938 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.004302, allocations: 47.92 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.004399, allocations: 87.7 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.004432, allocations: 39.73 kB / 383.9 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.004633, allocations: 207.1 kB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004634, allocations: 0 / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004635, allocations: 0 / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.00464, allocations: 3.938 kB / 384.1 MB, free: 18.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004259/0.005066, allocations: 0.7008 MB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.0051, allocations: 8.031 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.005141, allocations: 56.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.00528, allocations: 252.8 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005289, allocations: 384 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.005308, allocations: 8.312 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.00539, allocations: 58.94 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.0054, allocations: 4.188 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.005406, allocations: 384 / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005411, allocations: 384 / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.005436, allocations: 15.92 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.00569, allocations: 340.2 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.00574, allocations: 43.05 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.005759, allocations: 15.67 kB / 385.6 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.005775, allocations: 8.078 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.005789, allocations: 41.36 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.00579, allocations: 0 / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004199/0.00621, allocations: 193.1 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.006232, allocations: 51.41 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.006492, allocations: 0.6001 MB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.006499, allocations: 33.7 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.006597, allocations: 298.7 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.006617, allocations: 27.75 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.006644, allocations: 27.38 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.00673, allocations: 0.5586 MB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.006743, allocations: 4 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.006757, allocations: 11.98 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.006791, allocations: 35.61 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006793, allocations: 7.875 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.979e-05/0.006873, allocations: 97.41 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006884, allocations: 9.562 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006889, allocations: 0 / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.006897, allocations: 7.984 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.006951, allocations: 12 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.006954, allocations: 0 / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.006979, allocations: 8 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.006984, allocations: 3.984 kB / 387.6 MB, free: 14.96 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 (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 5.437e-05/0.007038, allocations: 164.5 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.007068, allocations: 47.72 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.00718, allocations: 109.8 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.007183, allocations: 7.984 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007185, allocations: 0 / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007188, allocations: 0 / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.007433, allocations: 437.5 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007435, allocations: 0 / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.007467, allocations: 19.92 kB / 388.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.007469, allocations: 0 / 388.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.007474, allocations: 4 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007476, allocations: 0 / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007477, allocations: 4.031 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.187e-05/0.007569, allocations: 259.3 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.00759, allocations: 39.7 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.007604, allocations: 3.984 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.007641, allocations: 4 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.00767, allocations: 11.98 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007674, allocations: 0 / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.007819, allocations: 394.7 kB / 389 MB, free: 13.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007819, allocations: 0 / 389 MB, free: 13.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.007985, allocations: 23.98 kB / 389.1 MB, free: 13.38 MB / 314.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.0008544/0.008839, allocations: 442.4 kB / 389.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.008917, allocations: 35.67 kB / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008919, allocations: 0 / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.008943, allocations: 35.59 kB / 389.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.009167, allocations: 29.95 kB / 389.6 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.009652, allocations: 0.5938 MB / 390.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.009708, allocations: 119.2 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.009741, allocations: 17.03 kB / 390.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.009789, allocations: 90.12 kB / 390.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of SimCode: time 4.1e-07/0.00979, allocations: 0 / 390.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003729/0.01352, allocations: 1.761 MB / 392.2 MB, free: 10.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.395681280642748]