Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 78.66 kB / 21.42 MB, free: 3.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 172.8 kB / 24.82 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9974/0.9974, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2709/0.2709, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.294e-05, allocations: 13.62 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003424/0.003457, allocations: 1.642 MB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.004557, allocations: 0.5258 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.004636, allocations: 4 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.004962, allocations: 75.7 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.005322, allocations: 107.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.005589, allocations: 95.62 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.005772, allocations: 83.7 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.005889, allocations: 19.97 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.005977, allocations: 35.91 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.006107, allocations: 59.86 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.006125, allocations: 4 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.006229, allocations: 47.92 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.006286, allocations: 23.91 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.006315, allocations: 11.94 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.006501, allocations: 95.59 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.006504, allocations: 0 / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006505, allocations: 0 / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006509, allocations: 0 / 381.4 MB, free: 15.49 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.000481/0.00699, allocations: 439.9 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.007037, allocations: 12.03 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.007075, allocations: 12.84 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.007236, allocations: 157.1 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.007247, allocations: 4.375 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.00727, allocations: 8.312 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.007387, allocations: 54.95 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.007399, allocations: 4.172 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.007407, allocations: 4.125 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.007413, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.007444, allocations: 11.98 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.00774, allocations: 268.3 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.007805, allocations: 38.98 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.00783, allocations: 15.69 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.007856, allocations: 4 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.007881, allocations: 37.33 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.007882, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.00847, allocations: 161.5 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.008502, allocations: 55.34 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.008677, allocations: 230.3 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008692, allocations: 29.7 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.008889, allocations: 162.7 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.008923, allocations: 39.72 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.008963, allocations: 19.38 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.009111, allocations: 0.5001 MB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.009135, allocations: 8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.009156, allocations: 7.984 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.009207, allocations: 31.67 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.009211, allocations: 3.938 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.009316, allocations: 69.58 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.00933, allocations: 4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.009335, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.009346, allocations: 4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.009432, allocations: 19.98 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.009435, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.009465, allocations: 4 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.009475, allocations: 11.98 kB / 383.8 MB, free: 12.89 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 8.003e-05/0.009555, allocations: 156.5 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.009594, allocations: 19.91 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.009749, allocations: 79.39 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.009752, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.009753, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009757, allocations: 4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.01011, allocations: 357.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01012, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.01018, allocations: 15.98 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01018, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.01019, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01019, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01019, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01035, allocations: 235.9 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.01036, allocations: 19.83 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01038, allocations: 4.031 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.01044, allocations: 4 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.01048, allocations: 15.97 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01048, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.034e-05/0.01057, allocations: 163.1 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01057, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000242/0.01081, allocations: 20 kB / 384.8 MB, free: 11.74 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.001157/0.01197, allocations: 433.6 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.01207, allocations: 47.58 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01207, allocations: 0 / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.0121, allocations: 27.62 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.01237, allocations: 26 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.01273, allocations: 226.2 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01277, allocations: 71.33 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.01282, allocations: 20.77 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.01289, allocations: 82.2 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01289, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003556/0.01644, allocations: 1.507 MB / 387.2 MB, free: 9.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.2828810079954565]