Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001291/0.001291, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00154/0.00154, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test30,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.133e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002134/0.002156, allocations: 1.661 MB / 377.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.002882, allocations: 0.5453 MB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.002937, allocations: 0 / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.003206, allocations: 87.69 kB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.003485, allocations: 99.53 kB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.003736, allocations: 115.6 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.003887, allocations: 87.73 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.003974, allocations: 8 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.004037, allocations: 51.81 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.004126, allocations: 51.88 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.004139, allocations: 4 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.004214, allocations: 51.92 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.004258, allocations: 23.91 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.004286, allocations: 11.94 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.004434, allocations: 95.59 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.004437, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.004438, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004442, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.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.000658/0.0051, allocations: 443.9 kB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.005137, allocations: 8.031 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.005184, allocations: 20.83 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005316, allocations: 149.1 kB / 379.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.005326, allocations: 4.375 kB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.005346, allocations: 4.375 kB / 379.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.005465, allocations: 58.94 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005476, allocations: 192 / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005487, allocations: 8.125 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.005495, allocations: 0 / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.005528, allocations: 15.92 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.005833, allocations: 287.7 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.005899, allocations: 43.05 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.005922, allocations: 23.72 kB / 380 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.00594, allocations: 3.984 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.005962, allocations: 41.33 kB / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005964, allocations: 0 / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005183/0.006482, allocations: 177.2 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.00651, allocations: 51.41 kB / 380.2 MB, free: 276 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.006634, allocations: 238.4 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.006656, allocations: 25.7 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.006731, allocations: 158.9 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.006756, allocations: 27.75 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.006786, allocations: 23.38 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.006891, allocations: 0.504 MB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.006913, allocations: 7.984 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.006934, allocations: 12 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.006984, allocations: 39.83 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006985, allocations: 0 / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.321e-05/0.007079, allocations: 77.59 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00709, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007095, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007108, allocations: 4 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.007186, allocations: 19.98 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007191, allocations: 0 / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.00721, allocations: 4 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007217, allocations: 4 kB / 381.4 MB, free: 15.07 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.537e-05/0.007282, allocations: 164.5 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.007306, allocations: 15.91 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.007445, allocations: 91.11 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007448, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.007451, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007454, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.007775, allocations: 381 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007777, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.007819, allocations: 19.94 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007822, allocations: 0 / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.007828, allocations: 0 / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.00783, allocations: 0 / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.007833, allocations: 7.984 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.007958, allocations: 235.5 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.007966, allocations: 11.98 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.00798, allocations: 7.938 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.008015, allocations: 4 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.008045, allocations: 7.922 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.00805, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.293e-05/0.008123, allocations: 175.1 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008123, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.008293, allocations: 27.92 kB / 382.5 MB, free: 13.85 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.001/0.009293, allocations: 435.2 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.009411, allocations: 43.67 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009413, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.009446, allocations: 31.61 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.009681, allocations: 27.94 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.01007, allocations: 233.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01012, allocations: 75.31 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.01016, allocations: 25.08 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.01019, allocations: 20.42 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01019, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003301/0.0135, allocations: 1.504 MB / 384.9 MB, free: 11.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.0790317449718714]