Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001018/0.001018, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002789, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00116/0.00116, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002576, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9468/0.9468, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1062/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.3504/0.3504, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02658/0.3769, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.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.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.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 4 kB / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.192e-05, allocations: 4.141 kB / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002128/0.00215, allocations: 1.683 MB / 295.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007679/0.002917, allocations: 0.5649 MB / 296.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.002976, allocations: 4 kB / 296.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.003113, allocations: 27.78 kB / 296.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.003338, allocations: 79.5 kB / 296.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.003597, allocations: 91.64 kB / 296.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003738, allocations: 79.7 kB / 296.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.003808, allocations: 15.92 kB / 296.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.003897, allocations: 51.89 kB / 296.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.003968, allocations: 19.92 kB / 296.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.003985, allocations: 8 kB / 296.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.004168, allocations: 103.8 kB / 296.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.004207, allocations: 11.94 kB / 296.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.004233, allocations: 11.94 kB / 296.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.004451, allocations: 139.5 kB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.004464, allocations: 0 / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004465, allocations: 0 / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.004476, allocations: 0 / 297 MB, free: 2.145 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004234/0.004899, allocations: 325.1 kB / 297.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004931, allocations: 8.922 kB / 297.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.004966, allocations: 8.922 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005104, allocations: 133.7 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.005112, allocations: 4.375 kB / 297.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.00513, allocations: 8.312 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.005244, allocations: 106.3 kB / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005251, allocations: 192 / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.005258, allocations: 384 / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.005262, allocations: 384 / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.005285, allocations: 15.94 kB / 297.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.005511, allocations: 179.1 kB / 297.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.005568, allocations: 41.31 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.005584, allocations: 8.859 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.005605, allocations: 4 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.005624, allocations: 34.56 kB / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.005625, allocations: 0 / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003019/0.005927, allocations: 109.6 kB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.00595, allocations: 51.41 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.006062, allocations: 154.4 kB / 298.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006073, allocations: 25.7 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.006111, allocations: 100 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.006134, allocations: 19.86 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.006166, allocations: 29.69 kB / 298.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.006244, allocations: 322.8 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.006262, allocations: 14.77 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.0063, allocations: 51.41 kB / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.006352, allocations: 38.23 kB / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006353, allocations: 0 / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.984e-05/0.006423, allocations: 68.44 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.006434, allocations: 4 kB / 298.8 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006438, allocations: 3.938 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.006448, allocations: 0 / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.006519, allocations: 19.98 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006521, allocations: 0 / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.006543, allocations: 4 kB / 298.9 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00655, allocations: 4.031 kB / 298.9 MB, free: 100 kB / 282.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 (9): * Single equations (assignments): 9 * 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 7.346e-05/0.006623, allocations: 120.6 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.006641, allocations: 7.984 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.006751, allocations: 86.66 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006753, allocations: 3.984 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006756, allocations: 4 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006759, allocations: 0 / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.006985, allocations: 282.6 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006986, allocations: 0 / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.007028, allocations: 23.94 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.007037, allocations: 7.938 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007039, allocations: 4 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.007044, allocations: 4 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007047, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007048, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.007133, allocations: 159.4 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007143, allocations: 0 / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.007177, allocations: 8 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.007198, allocations: 3.984 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.007203, allocations: 4 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.007238, allocations: 35.66 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007238, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.007412, allocations: 47.86 kB / 299.7 MB, free: 15.25 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 (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.001459/0.008871, allocations: 0.6888 MB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.008968, allocations: 32.78 kB / 300.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.008976, allocations: 7.984 kB / 300.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.009011, allocations: 20.86 kB / 300.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.009201, allocations: 98.94 kB / 300.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.009645, allocations: 191 kB / 300.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.009689, allocations: 67.28 kB / 300.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.009732, allocations: 12.72 kB / 300.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.0098, allocations: 67.36 kB / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009801, allocations: 0 / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Templates: time 0.00366/0.01346, allocations: 2.268 MB / 303.1 MB, free: 12.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0993557507172227]