Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009408/0.0009408, allocations: 95.5 kB / 21.2 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.000902/0.000902, allocations: 160.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.9549/0.9549, allocations: 177 MB / 204.8 MB, free: 5.574 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.2506/0.2506, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.975e-05, allocations: 3.016 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001988/0.002008, allocations: 1.668 MB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.002745, allocations: 0.5408 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.002805, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.003097, allocations: 127.6 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.003381, allocations: 139.4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.003626, allocations: 107.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003782, allocations: 107.7 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.003868, allocations: 7.984 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.003936, allocations: 55.88 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004042, allocations: 87.81 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.004056, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.00413, allocations: 43.94 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.004178, allocations: 35.84 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.004206, allocations: 19.92 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.004363, allocations: 103.5 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004365, allocations: 0 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004366, allocations: 0 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.004369, allocations: 0 / 381.8 MB, free: 15.03 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.0003949/0.004764, allocations: 467.7 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.004797, allocations: 8.031 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.004843, allocations: 16.84 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004976, allocations: 148.4 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.004987, allocations: 8.375 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.005006, allocations: 8.312 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005112, allocations: 58.94 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005121, allocations: 192 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.00513, allocations: 4.375 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005137, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.00517, allocations: 15.92 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.005466, allocations: 307.7 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.005531, allocations: 50.97 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.005552, allocations: 11.69 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.005569, allocations: 7.938 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.005588, allocations: 37.33 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.005589, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004828/0.006072, allocations: 181.3 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.006101, allocations: 55.34 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.006254, allocations: 274.8 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.006264, allocations: 25.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.006323, allocations: 170.8 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.006345, allocations: 27.75 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.006374, allocations: 31.36 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.006483, allocations: 0.504 MB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.006504, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.006521, allocations: 11.98 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.006563, allocations: 31.69 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006564, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.665e-05/0.006651, allocations: 89.53 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006663, allocations: 8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.006667, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006679, allocations: 4 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.006746, allocations: 15.98 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006751, allocations: 320 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.006771, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006776, allocations: 0 / 384.4 MB, free: 12.26 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 6.433e-05/0.00684, allocations: 164.6 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.006862, allocations: 19.84 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.006985, allocations: 91.06 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.006988, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006992, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006996, allocations: 7.984 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.007278, allocations: 396.9 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.007279, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.007313, allocations: 15.94 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007315, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.007323, allocations: 4 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007324, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007326, allocations: 3.984 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007442, allocations: 243.4 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007451, allocations: 7.953 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007463, allocations: 8.031 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.007495, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.007522, allocations: 3.984 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.007527, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003399/0.007867, allocations: 196.1 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007867, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.008028, allocations: 19.94 kB / 385.5 MB, free: 11 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.0008748/0.008902, allocations: 428.2 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.009009, allocations: 55.58 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00901, allocations: 0 / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.009039, allocations: 31.61 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.009246, allocations: 23.8 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.009595, allocations: 271.2 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.009637, allocations: 71.33 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.009678, allocations: 24.78 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.009704, allocations: 12.5 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009705, allocations: 4 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003111/0.01282, allocations: 1.534 MB / 388 MB, free: 8.641 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.9040824891999364]