Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001431/0.001431, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001879/0.001879, allocations: 160.6 kB / 25.61 MB, free: 8.871 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.9927/0.9927, allocations: 177 MB / 205.9 MB, free: 4.445 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.1626/0.1626, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.244e-05, allocations: 5.922 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.005823/0.005856, allocations: 1.641 MB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.006737, allocations: 0.5446 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.006806, allocations: 4 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.007079, allocations: 83.69 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.01043, allocations: 99.53 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.01072, allocations: 111.7 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.01087, allocations: 83.75 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.01097, allocations: 11.98 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.01104, allocations: 47.83 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.01115, allocations: 55.92 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.01117, allocations: 4 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.01126, allocations: 51.86 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.0113, allocations: 23.91 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.01133, allocations: 11.94 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.01149, allocations: 95.59 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01149, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01149, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.01149, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.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.0003514/0.01185, allocations: 443.8 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.01188, allocations: 12.03 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.01192, allocations: 20.84 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.01205, allocations: 146.5 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.01206, allocations: 384 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.01208, allocations: 8.312 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.01218, allocations: 62.92 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01219, allocations: 192 / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.0122, allocations: 4.359 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01221, allocations: 384 / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.01224, allocations: 15.92 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.01251, allocations: 264.4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.01257, allocations: 46.98 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.01259, allocations: 11.69 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01261, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.01262, allocations: 45.47 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.01262, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.003457/0.01608, allocations: 153.3 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.01611, allocations: 59.34 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01622, allocations: 234.8 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.01623, allocations: 29.7 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.01627, allocations: 150.8 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.0163, allocations: 35.72 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.01634, allocations: 27.38 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.01641, allocations: 0.5 MB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.01643, allocations: 7.984 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.01645, allocations: 8 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.0165, allocations: 31.67 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0165, allocations: 0 / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.01661, allocations: 81.5 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01663, allocations: 4 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01663, allocations: 4 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01664, allocations: 0 / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.01672, allocations: 16 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01673, allocations: 3.984 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.01675, allocations: 0 / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01676, allocations: 4 kB / 385.3 MB, free: 17.24 MB / 314.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.358e-05/0.01683, allocations: 156.6 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.01687, allocations: 19.84 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.017, allocations: 91.36 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.017, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.017, allocations: 8 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01701, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.01729, allocations: 345.6 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01729, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.01734, allocations: 15.98 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01734, allocations: 4 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.01735, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01735, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01735, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.01746, allocations: 247.4 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01747, allocations: 16.36 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.01749, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.01754, allocations: 4 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.01757, allocations: 11.98 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.01758, allocations: 0 / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.01764, allocations: 163.1 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01764, allocations: 0 / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000298/0.01793, allocations: 23.92 kB / 386.4 MB, free: 16.07 MB / 314.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.001236/0.01917, allocations: 432.5 kB / 386.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.01928, allocations: 35.61 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01928, allocations: 0 / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.01932, allocations: 35.59 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01965, allocations: 30.88 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.02003, allocations: 223.8 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.02008, allocations: 79.19 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.02013, allocations: 16.8 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.0202, allocations: 82.19 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0202, allocations: 0 / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Templates: time 0.00398/0.02418, allocations: 1.558 MB / 388.8 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.489042549394071]