Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001078/0.001078, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.000924/0.000924, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.9338/0.9338, allocations: 177 MB / 205.2 MB, free: 5.055 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.2856/0.2856, allocations: 34.86 MB / 296.6 MB, free: 396 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.CombiTable1Dv.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.457e-05, allocations: 2.312 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003136/0.00316, allocations: 1.638 MB / 327.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.004868, allocations: 1.289 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.004923, allocations: 3.938 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.005146, allocations: 27.78 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.005484, allocations: 97.06 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.0058, allocations: 107.6 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.005952, allocations: 75.7 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.00604, allocations: 11.98 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.006116, allocations: 31.91 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.006223, allocations: 23.92 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.006242, allocations: 7.984 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.006404, allocations: 83.89 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.006453, allocations: 19.91 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.006482, allocations: 19.94 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006717, allocations: 127.6 kB / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00672, allocations: 0 / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00672, allocations: 0 / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.006724, allocations: 0 / 329.5 MB, free: 3.555 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.0003884/0.007112, allocations: 314.3 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.007147, allocations: 12.03 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.007179, allocations: 4.875 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.007334, allocations: 121.7 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.007347, allocations: 8.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.007368, allocations: 4.375 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007505, allocations: 102.3 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007515, allocations: 192 / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.007525, allocations: 4.359 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.007531, allocations: 384 / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.00756, allocations: 11.88 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.007815, allocations: 163.1 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.007958, allocations: 37.38 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.007979, allocations: 12.92 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.008, allocations: 4 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.008021, allocations: 34.56 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.008022, allocations: 0 / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003225/0.008344, allocations: 85.56 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.008387, allocations: 77.11 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.00851, allocations: 145.3 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.008527, allocations: 29.7 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.008568, allocations: 96.06 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.008588, allocations: 15.84 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.008626, allocations: 21.7 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.00872, allocations: 314.8 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.008738, allocations: 8 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.008778, allocations: 47.41 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/0.008823, allocations: 27.59 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008824, allocations: 0 / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.038e-05/0.008905, allocations: 57.81 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.008917, allocations: 5.719 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.008923, allocations: 3.938 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.008935, allocations: 0 / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.008995, allocations: 11.98 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.008999, allocations: 4 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.00903, allocations: 4.031 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.009036, allocations: 0 / 331.2 MB, free: 1.609 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.712e-05/0.009103, allocations: 112.7 kB / 331.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.009133, allocations: 4 kB / 331.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.009254, allocations: 62.08 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.009256, allocations: 0 / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.009258, allocations: 7.938 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.009263, allocations: 3.984 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.009531, allocations: 206.8 kB / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009533, allocations: 0 / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.009582, allocations: 12 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.009586, allocations: 3.938 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.009592, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009594, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009595, allocations: 4 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.009705, allocations: 147.5 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.009719, allocations: 7.953 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.009738, allocations: 12.19 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.009807, allocations: 4 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.009834, allocations: 7.984 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.009839, allocations: 0 / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.009885, allocations: 31.67 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009885, allocations: 0 / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.01016, allocations: 39.86 kB / 331.9 MB, free: 0.8906 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.001725/0.01188, allocations: 0.6131 MB / 332.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.01197, allocations: 28.78 kB / 332.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.01198, allocations: 4 kB / 332.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.012, allocations: 12.86 kB / 332.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01221, allocations: 20.7 kB / 332.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01254, allocations: 170.8 kB / 332.7 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.01258, allocations: 59.34 kB / 332.8 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.01263, allocations: 24.16 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.01272, allocations: 67.36 kB / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01273, allocations: 0 / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of Templates: time 0.004519/0.01724, allocations: 1.986 MB / 334.9 MB, free: 14.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.9373530047014356]