Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001257/0.001257, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.002201/0.002201, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9777/0.9777, allocations: 177 MB / 204.8 MB, free: 5.598 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.2783/0.2783, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.075e-05, allocations: 10.25 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002003/0.002024, allocations: 1.652 MB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.002816, allocations: 0.5525 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.002874, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.003184, allocations: 131.6 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.003488, allocations: 135.4 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003733, allocations: 107.7 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.003899, allocations: 107.7 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.003991, allocations: 11.97 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.004074, allocations: 51.89 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.004216, allocations: 95.8 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004238, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.004346, allocations: 39.94 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.0044, allocations: 27.92 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.004433, allocations: 27.84 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.0046, allocations: 99.59 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004603, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004603, allocations: 3.938 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.004607, allocations: 0 / 381.8 MB, free: 15.01 MB / 362.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.0004447/0.005052, allocations: 467.7 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.00509, allocations: 8.031 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005135, allocations: 20.84 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005286, allocations: 148.4 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005298, allocations: 4.375 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.005321, allocations: 4.375 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.005434, allocations: 62.88 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.005446, allocations: 4.188 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005456, allocations: 384 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.005464, allocations: 384 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.005498, allocations: 15.92 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.005802, allocations: 303.7 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.00587, allocations: 50.98 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.005891, allocations: 11.69 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005909, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.005942, allocations: 41.33 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.005943, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.006484, allocations: 181.4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.006518, allocations: 55.41 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.006693, allocations: 274.7 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006705, allocations: 29.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.006778, allocations: 170.8 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006803, allocations: 27.75 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.006837, allocations: 27.36 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.006979, allocations: 0.504 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.007003, allocations: 11.94 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.007021, allocations: 11.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.00707, allocations: 31.69 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.007071, allocations: 4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.562e-05/0.007166, allocations: 77.53 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007182, allocations: 14.66 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007186, allocations: 0 / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.0072, allocations: 0 / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.007273, allocations: 19.92 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.007278, allocations: 320 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.007298, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007304, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.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 7.388e-05/0.007378, allocations: 164.6 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.007415, allocations: 19.84 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.007597, allocations: 95.11 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.0076, allocations: 4.422 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.007604, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.007611, allocations: 3.984 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.007926, allocations: 396.9 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007928, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.007973, allocations: 19.98 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.007975, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.007983, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007984, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.007987, allocations: 3.984 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.00811, allocations: 247.4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.00812, allocations: 7.953 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.008133, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.008166, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.008195, allocations: 7.922 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.008199, allocations: 4 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.008289, allocations: 196.1 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008289, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.008454, allocations: 19.94 kB / 385.5 MB, free: 10.99 MB / 362.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.0009031/0.009357, allocations: 426.8 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.009477, allocations: 47.59 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009479, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.009511, allocations: 27.67 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.009738, allocations: 34.92 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.01017, allocations: 275.1 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.01022, allocations: 79.39 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.01028, allocations: 16.72 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01032, allocations: 16.5 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01032, allocations: 0 / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003855/0.01417, allocations: 1.526 MB / 388 MB, free: 8.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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: 3.1779606170020998]