Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009697/0.0009697, 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.001024/0.001024, allocations: 167.6 kB / 24.91 MB, free: 9.148 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.461 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.2791/0.2791, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.246e-05, allocations: 4.141 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.0034/0.003432, allocations: 1.69 MB / 327.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004547, allocations: 0.5408 MB / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.004602, allocations: 0 / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.004841, allocations: 35.72 kB / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.005119, allocations: 71.62 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.005442, allocations: 115.5 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.0056, allocations: 67.83 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.08e-05/0.00569, allocations: 11.98 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.005762, allocations: 31.86 kB / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.005822, allocations: 19.92 kB / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.005836, allocations: 0 / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.005915, allocations: 31.97 kB / 328.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.005959, allocations: 15.94 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.005985, allocations: 11.94 kB / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.00615, allocations: 75.72 kB / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006153, allocations: 0 / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006154, allocations: 0 / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006158, allocations: 0 / 328.7 MB, free: 4.406 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.0003797/0.006538, allocations: 294.5 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006574, allocations: 8.031 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.006607, allocations: 8.922 kB / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.006769, allocations: 133.6 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.006781, allocations: 8.375 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.006797, allocations: 384 / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.006906, allocations: 54.95 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006916, allocations: 192 / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.006925, allocations: 4.375 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.006931, allocations: 384 / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.006959, allocations: 11.92 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.007218, allocations: 167.1 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.00737, allocations: 37.33 kB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.007389, allocations: 8.859 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.007408, allocations: 4.062 kB / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.007431, allocations: 30.56 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.007433, allocations: 0 / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003186/0.007751, allocations: 85.58 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.007782, allocations: 51.41 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007896, allocations: 158.3 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.007907, allocations: 33.64 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.007943, allocations: 92.06 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.007967, allocations: 15.89 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.008001, allocations: 17.72 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.008093, allocations: 322.8 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.008105, allocations: 0 / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.008119, allocations: 4 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.00816, allocations: 27.86 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.00816, allocations: 0 / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.002e-05/0.00825, allocations: 49.62 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008265, allocations: 8 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00827, allocations: 4 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.008283, allocations: 0 / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.008336, allocations: 15.92 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.008339, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.008362, allocations: 4 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.008368, allocations: 0 / 330.3 MB, free: 2.617 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 (5): * Single equations (assignments): 5 * 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.69e-05/0.008435, allocations: 120.6 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.008459, allocations: 7.938 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.00857, allocations: 58.14 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008573, allocations: 4 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008574, allocations: 0 / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008577, allocations: 0 / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.008841, allocations: 214.7 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.008844, allocations: 3.938 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.008886, allocations: 8.281 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008888, allocations: 0 / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008896, allocations: 11.92 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008898, allocations: 192 / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0089, allocations: 0 / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.009007, allocations: 155.5 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.009019, allocations: 15.89 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.009031, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.009082, allocations: 7.984 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.009107, allocations: 4 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.009118, allocations: 4 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.009164, allocations: 38.64 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009165, allocations: 0 / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.00937, allocations: 19.94 kB / 331 MB, free: 1.898 MB / 298.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 (5): * Single equations (assignments): 5 * 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.001398/0.01077, allocations: 491.5 kB / 331.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.01085, allocations: 24.8 kB / 331.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01085, allocations: 0 / 331.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.01088, allocations: 16.84 kB / 331.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01108, allocations: 27.38 kB / 331.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.0114, allocations: 179.4 kB / 331.7 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.01144, allocations: 63.34 kB / 331.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01147, allocations: 19.95 kB / 331.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.01153, allocations: 59.38 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01153, allocations: 0 / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of Templates: time 0.002972/0.0145, allocations: 1.248 MB / 333.1 MB, free: 15.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.945506554096937]