Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001521/0.001521, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001239/0.001239, allocations: 164.5 kB / 24.91 MB, free: 8.734 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.009/1.009, allocations: 177 MB / 205.2 MB, free: 4.992 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.2702/0.2702, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.305e-05, allocations: 5.266 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002341/0.002364, allocations: 1.757 MB / 327.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.003159, allocations: 0.5562 MB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.003218, allocations: 0 / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.003667, allocations: 451.1 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.00405, allocations: 283.2 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.004371, allocations: 139.5 kB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.004684, allocations: 176.4 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.004784, allocations: 19.97 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.00499, allocations: 119.7 kB / 329.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.005267, allocations: 199.6 kB / 329.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.005286, allocations: 8 kB / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.005411, allocations: 51.91 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.005518, allocations: 87.7 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.005561, allocations: 39.73 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.005858, allocations: 211.1 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00586, allocations: 3.938 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005861, allocations: 0 / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.005867, allocations: 0 / 330 MB, free: 3.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004407/0.006307, allocations: 0.5463 MB / 330.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.006337, allocations: 8.031 kB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.006376, allocations: 32.91 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.006579, allocations: 242 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.006591, allocations: 4.375 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.006612, allocations: 8.312 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006731, allocations: 62.94 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.006743, allocations: 192 / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.006751, allocations: 384 / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006759, allocations: 4.375 kB / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.006786, allocations: 8.688 kB / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.007055, allocations: 176.1 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.007113, allocations: 38.56 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.007127, allocations: 8.859 kB / 331.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.007144, allocations: 0 / 331.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.00717, allocations: 34.59 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.007171, allocations: 0 / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004844/0.007656, allocations: 165.5 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.007685, allocations: 51.41 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.008021, allocations: 0.5283 MB / 332 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.008034, allocations: 25.7 kB / 332 MB, free: 0.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.008092, allocations: 145.3 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.008119, allocations: 35.72 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.008147, allocations: 17.72 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.008241, allocations: 358.7 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.008256, allocations: 7.984 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.00827, allocations: 11.94 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.008305, allocations: 24.83 kB / 332.6 MB, free: 352 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.008306, allocations: 3.938 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.518e-05/0.008381, allocations: 73.59 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008393, allocations: 4 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008398, allocations: 8.312 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.00841, allocations: 432 / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.008471, allocations: 15.98 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.008474, allocations: 0 / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.008499, allocations: 4 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.008522, allocations: 11.98 kB / 332.7 MB, free: 224 kB / 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 (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 6.782e-05/0.00859, allocations: 120.6 kB / 332.8 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.008617, allocations: 23.91 kB / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.008764, allocations: 97.53 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008766, allocations: 8 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008768, allocations: 0 / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008772, allocations: 3.984 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.009082, allocations: 303.4 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009084, allocations: 0 / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.009127, allocations: 19.98 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.00913, allocations: 0 / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.009134, allocations: 0 / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.009139, allocations: 3.938 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.00914, allocations: 0 / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.009242, allocations: 188.3 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.009267, allocations: 35.72 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.009281, allocations: 0 / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.00932, allocations: 4 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.009347, allocations: 7.984 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.00935, allocations: 4 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.009527, allocations: 279.2 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009527, allocations: 0 / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.00968, allocations: 31.94 kB / 333.8 MB, free: 15.05 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.001251/0.01093, allocations: 0.5678 MB / 334.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.01102, allocations: 40.75 kB / 334.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01102, allocations: 4 kB / 334.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.01105, allocations: 28.8 kB / 334.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01125, allocations: 29.89 kB / 334.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.01183, allocations: 0.591 MB / 335.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.01191, allocations: 123.2 kB / 335.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.696e-05/0.01195, allocations: 4.734 kB / 335.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.012, allocations: 67.36 kB / 335.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.012, allocations: 4 kB / 335.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of Templates: time 0.004144/0.01615, allocations: 1.708 MB / 337 MB, free: 12.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.0290323309600353]