Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001301/0.001301, allocations: 88.86 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.0009404/0.0009404, allocations: 159.8 kB / 24.91 MB, free: 8.719 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.9198/0.9198, allocations: 177 MB / 205.2 MB, free: 5.047 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.2547/0.2547, allocations: 34.87 MB / 296.6 MB, free: 400 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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 4 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.723e-05, allocations: 2.312 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002003/0.00202, allocations: 1.641 MB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007255/0.002746, allocations: 0.5525 MB / 328.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.002793, allocations: 0 / 328.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.002994, allocations: 31.72 kB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.003253, allocations: 79.61 kB / 328.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.003506, allocations: 111.6 kB / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.003654, allocations: 79.7 kB / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.00374, allocations: 11.98 kB / 328.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.003804, allocations: 31.91 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.003882, allocations: 31.89 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.003896, allocations: 4 kB / 328.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.004042, allocations: 91.83 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.004085, allocations: 15.92 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.004111, allocations: 19.92 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.004313, allocations: 139.5 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004314, allocations: 0 / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004315, allocations: 0 / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.00432, allocations: 0 / 328.8 MB, free: 4.27 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.0003639/0.004684, allocations: 310.3 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.004717, allocations: 12.03 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.004747, allocations: 4.938 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.004887, allocations: 137.6 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.004894, allocations: 384 / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.004915, allocations: 8.359 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.005033, allocations: 102.4 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.005043, allocations: 4.141 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.00505, allocations: 384 / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005055, allocations: 384 / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.005078, allocations: 15.94 kB / 329.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.005324, allocations: 171 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.00538, allocations: 33.47 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.005398, allocations: 12.94 kB / 329.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.005416, allocations: 4 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.005436, allocations: 34.56 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005437, allocations: 0 / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002947/0.005731, allocations: 101.5 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.00577, allocations: 85.05 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.005868, allocations: 148.2 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.005881, allocations: 25.7 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.005916, allocations: 92.84 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.005935, allocations: 23.84 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.005963, allocations: 21.7 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.006043, allocations: 322.8 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.006056, allocations: 10.83 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.006087, allocations: 47.41 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.006128, allocations: 34.48 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006129, allocations: 0 / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.595e-05/0.006195, allocations: 60.44 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.006205, allocations: 4 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.006211, allocations: 3.938 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006221, allocations: 0 / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.006287, allocations: 16 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.006293, allocations: 7.984 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.006313, allocations: 4.031 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006319, allocations: 4 kB / 330.6 MB, free: 2.246 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.897e-05/0.006378, allocations: 112.7 kB / 330.7 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.006394, allocations: 4 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.00649, allocations: 82.59 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.006492, allocations: 0 / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.006494, allocations: 0 / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006497, allocations: 0 / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.006722, allocations: 282.5 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006723, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.006754, allocations: 19.94 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006757, allocations: 4 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.006762, allocations: 3.984 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.006764, allocations: 4 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.006764, allocations: 0 / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.816e-05/0.006843, allocations: 139.5 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.006855, allocations: 23.81 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006867, allocations: 4 kB / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.0069, allocations: 4.281 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.006924, allocations: 3.984 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006927, allocations: 11.94 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.006959, allocations: 34.62 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006959, allocations: 0 / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.007126, allocations: 43.86 kB / 331.4 MB, free: 1.426 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 (7): * Single equations (assignments): 7 * 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.001343/0.008469, allocations: 0.6156 MB / 332 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.008553, allocations: 28.84 kB / 332 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.008555, allocations: 0 / 332 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.008577, allocations: 24.78 kB / 332 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.008723, allocations: 23.92 kB / 332 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.008999, allocations: 179.2 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.009036, allocations: 63.34 kB / 332.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.009076, allocations: 21.02 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.009146, allocations: 71.36 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.009146, allocations: 0 / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of Templates: time 0.003564/0.01271, allocations: 2.22 MB / 334.6 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.8703962578438222]