Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001009/0.001009, 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.0009349/0.0009349, allocations: 169.1 kB / 24.91 MB, free: 8.762 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.9921/0.9921, allocations: 177 MB / 205.2 MB, free: 5.43 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.2941/0.2941, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.917e-05, allocations: 6.312 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002761/0.00279, allocations: 1.704 MB / 327.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.003581, allocations: 0.5291 MB / 328.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.003637, allocations: 0 / 328.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.003913, allocations: 99.55 kB / 328.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.004175, allocations: 107.6 kB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.004405, allocations: 99.56 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004544, allocations: 79.81 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.004627, allocations: 15.92 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.004693, allocations: 47.83 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.004782, allocations: 51.88 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.004796, allocations: 0 / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.00488, allocations: 51.92 kB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.004929, allocations: 23.91 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.004955, allocations: 15.88 kB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.005105, allocations: 87.72 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005107, allocations: 0 / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005109, allocations: 0 / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005113, allocations: 0 / 328.9 MB, free: 4.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003385/0.005452, allocations: 334.1 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.005484, allocations: 16.02 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.005512, allocations: 4.938 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005646, allocations: 137.6 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.005655, allocations: 8.375 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.005673, allocations: 4.375 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.005765, allocations: 54.94 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005774, allocations: 8.141 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.005781, allocations: 4.375 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005785, allocations: 384 / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.005811, allocations: 15.88 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.006049, allocations: 163.1 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.006097, allocations: 34.56 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.006112, allocations: 8.859 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.006127, allocations: 4 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.006148, allocations: 34.5 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006149, allocations: 0 / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004232/0.006572, allocations: 153.7 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.006598, allocations: 51.41 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.006716, allocations: 196.2 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.006725, allocations: 25.7 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.006759, allocations: 96.06 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.006782, allocations: 31.78 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.006816, allocations: 17.7 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.006891, allocations: 326.8 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.006907, allocations: 12 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.006919, allocations: 4 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.006959, allocations: 33 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.00696, allocations: 0 / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.892e-05/0.007029, allocations: 61.59 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007041, allocations: 11.94 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007045, allocations: 0 / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.007055, allocations: 0 / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.00712, allocations: 19.98 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.007124, allocations: 4 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.007143, allocations: 7.984 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.007148, allocations: 0 / 330.7 MB, free: 2.16 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 (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 5.865e-05/0.007207, allocations: 120.6 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.007227, allocations: 7.938 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007335, allocations: 79.08 kB / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007337, allocations: 0 / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007339, allocations: 0 / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007342, allocations: 0 / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.007573, allocations: 255.5 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007574, allocations: 0 / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.007619, allocations: 19.92 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007621, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.007627, allocations: 4 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.00763, allocations: 4 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007632, allocations: 0 / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.00773, allocations: 156.3 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.007749, allocations: 19.88 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007761, allocations: 4.031 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.007799, allocations: 8 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.007828, allocations: 7.984 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007833, allocations: 0 / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.007884, allocations: 59.58 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007884, allocations: 0 / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.008031, allocations: 23.94 kB / 331.5 MB, free: 1.336 MB / 298.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.001292/0.009323, allocations: 0.566 MB / 332.1 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.009409, allocations: 36.84 kB / 332.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.009413, allocations: 0 / 332.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.009439, allocations: 28.77 kB / 332.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.009615, allocations: 19.92 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.009955, allocations: 236 kB / 332.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01, allocations: 71.33 kB / 332.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.01004, allocations: 13.03 kB / 332.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.0101, allocations: 67.3 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0101, allocations: 0 / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of Templates: time 0.00322/0.01332, allocations: 1.488 MB / 334 MB, free: 15.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.9335350301116705]