Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0009212/0.0009212, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001126/0.001126, allocations: 164.7 kB / 24.82 MB, free: 8.867 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.9978/0.9978, allocations: 177 MB / 205.1 MB, free: 5.484 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.2594/0.2594, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.742e-05, allocations: 4.562 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002777/0.002804, allocations: 1.696 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.003494, allocations: 0.8103 MB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.003532, allocations: 0 / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.003761, allocations: 27.84 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.003964, allocations: 43.7 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.925e-06/0.003967, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.004107, allocations: 35.89 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.004145, allocations: 4 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.004238, allocations: 23.91 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.004265, allocations: 7.938 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.004276, allocations: 0 / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.004324, allocations: 15.98 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.004365, allocations: 8 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.004381, allocations: 11.94 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.004508, allocations: 63.64 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004511, allocations: 0 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004512, allocations: 0 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.004516, allocations: 0 / 382 MB, free: 15.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003012/0.004817, allocations: 392.4 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004855, allocations: 12.03 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.004883, allocations: 8.891 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005005, allocations: 132.5 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005014, allocations: 384 / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.005021, allocations: 4.375 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.005129, allocations: 104.3 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005138, allocations: 4.125 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.005144, allocations: 4.375 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.005183, allocations: 28.34 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.00521, allocations: 27.8 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.005696, allocations: 1.181 MB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.005786, allocations: 265.4 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.005817, allocations: 127 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.005845, allocations: 123.1 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.005891, allocations: 160.6 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.005892, allocations: 3.938 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.644e-05/0.005948, allocations: 37.66 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.005996, allocations: 174.5 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.006139, allocations: 247.8 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.006147, allocations: 25.7 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.006234, allocations: 202.2 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.00624, allocations: 12 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.006283, allocations: 51.31 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.0064, allocations: 0.4962 MB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.006415, allocations: 11.98 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.006509, allocations: 189.7 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.006653, allocations: 229.5 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.006656, allocations: 4 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001835/0.00684, allocations: 161.6 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.006855, allocations: 8 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.006861, allocations: 4 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.006876, allocations: 4 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.006961, allocations: 43.92 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.006967, allocations: 7.938 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.007023, allocations: 23.84 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.007034, allocations: 15.98 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0003649/0.007399, allocations: 295.6 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.007447, allocations: 160.9 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.007497, allocations: 152.7 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/0.007552, allocations: 268.1 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-05/0.007607, allocations: 272 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/0.007665, allocations: 276.1 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.007836, allocations: 496.4 kB / 388.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.007869, allocations: 148.9 kB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.007898, allocations: 144.9 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-05/0.007952, allocations: 268 kB / 388.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.008017, allocations: 276 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.538e-05/0.008072, allocations: 268 kB / 389.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.553e-05/0.008128, allocations: 272.1 kB / 389.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.008254, allocations: 451.9 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.0083, allocations: 160.8 kB / 390.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.008368, allocations: 276 kB / 390.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.008424, allocations: 144.9 kB / 390.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.008485, allocations: 264.1 kB / 390.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.008524, allocations: 152.8 kB / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.008589, allocations: 156 kB / 391.2 MB, free: 5.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008589, allocations: 0 / 391.2 MB, free: 5.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.008775, allocations: 19.94 kB / 391.3 MB, free: 5.168 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 (0): * Single equations (assignments): 0 * 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.0004395/0.009215, allocations: 307.2 kB / 391.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.009317, allocations: 67.47 kB / 391.6 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.009319, allocations: 0 / 391.6 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.00932, allocations: 0 / 391.6 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.00961, allocations: 0.7191 MB / 392.3 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.009867, allocations: 277.3 kB / 392.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.009902, allocations: 59.84 kB / 392.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.009959, allocations: 17.14 kB / 392.7 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.01, allocations: 86.19 kB / 392.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01, allocations: 4 kB / 392.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of Templates: time 0.002197/0.0122, allocations: 0.7819 MB / 393.6 MB, free: 2.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.9169033020734787]