Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001175/0.001175, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001083/0.001083, allocations: 159.7 kB / 24.91 MB, free: 8.711 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.9503/0.9503, allocations: 177 MB / 205.2 MB, free: 5.422 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.2848/0.2848, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.09e-05, allocations: 3.516 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002377/0.002398, allocations: 1.662 MB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003413, allocations: 0.5523 MB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.003471, allocations: 8 kB / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006035/0.004075, allocations: 455.1 kB / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.004584, allocations: 299.1 kB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.005019, allocations: 167.5 kB / 329 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.005263, allocations: 180.4 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.005344, allocations: 7.984 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.005466, allocations: 123.8 kB / 329.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.005629, allocations: 199.6 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.005644, allocations: 4 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.0057, allocations: 27.88 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.005776, allocations: 87.7 kB / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.005812, allocations: 39.73 kB / 329.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.005996, allocations: 187.2 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006, allocations: 3.938 kB / 329.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006001, allocations: 0 / 329.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006006, allocations: 0 / 329.9 MB, free: 3.184 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004763/0.006483, allocations: 0.5424 MB / 330.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.006515, allocations: 12.03 kB / 330.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.006553, allocations: 20.91 kB / 330.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.006756, allocations: 246 kB / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.006764, allocations: 384 / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.006778, allocations: 8.375 kB / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.006883, allocations: 54.94 kB / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00689, allocations: 192 / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.006898, allocations: 384 / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006903, allocations: 384 / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.006922, allocations: 7.938 kB / 330.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.007215, allocations: 211 kB / 331 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.007272, allocations: 26.56 kB / 331 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.007289, allocations: 12.84 kB / 331 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.007305, allocations: 0 / 331 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.007324, allocations: 30.56 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.007325, allocations: 0 / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001214/0.007446, allocations: 69.62 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.007477, allocations: 51.41 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.007795, allocations: 0.5361 MB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.007807, allocations: 29.7 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.007864, allocations: 141.3 kB / 331.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.007881, allocations: 7.953 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.007905, allocations: 13.72 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.007999, allocations: 362.6 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.00801, allocations: 4 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.008019, allocations: 0 / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.008048, allocations: 19.67 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008051, allocations: 0 / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.212e-05/0.008123, allocations: 61.59 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.008132, allocations: 8 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.008136, allocations: 4 kB / 332.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008148, allocations: 3.938 kB / 332.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.008199, allocations: 4 kB / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008203, allocations: 4 kB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.008226, allocations: 0 / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.008231, allocations: 3.984 kB / 332.4 MB, free: 0.543 MB / 298.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 (3): * Single equations (assignments): 3 * 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.519e-05/0.008297, allocations: 116.7 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.008319, allocations: 15.98 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.008419, allocations: 85.06 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008422, allocations: 11.94 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008424, allocations: 4 kB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008427, allocations: 0 / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.008547, allocations: 133.8 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.008549, allocations: 3.984 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.008573, allocations: 4 kB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.008574, allocations: 0 / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.008579, allocations: 4 kB / 332.7 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.00858, allocations: 0 / 332.7 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008581, allocations: 0 / 332.7 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.943e-05/0.008671, allocations: 155.5 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.008696, allocations: 44.08 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.008709, allocations: 0 / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.008746, allocations: 7.984 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.008757, allocations: 7.938 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.008762, allocations: 3.938 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.008935, allocations: 287.2 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008935, allocations: 0 / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.009083, allocations: 19.95 kB / 333.2 MB, free: 15.6 MB / 314.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 (3): * Single equations (assignments): 3 * 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.0008955/0.009978, allocations: 431.1 kB / 333.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.13e-05/0.01005, allocations: 16.84 kB / 333.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.01006, allocations: 4 kB / 333.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.01007, allocations: 12.86 kB / 333.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01026, allocations: 29.86 kB / 333.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01082, allocations: 0.5738 MB / 334.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.01089, allocations: 123.2 kB / 334.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.802e-05/0.01091, allocations: 4 kB / 334.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.01097, allocations: 63.36 kB / 334.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01097, allocations: 0 / 334.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Templates: time 0.003391/0.01436, allocations: 1.28 MB / 335.8 MB, free: 13.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.9188153953291476]