Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00146/0.00146, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001692/0.001692, allocations: 174.2 kB / 24.91 MB, free: 9.195 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.9337/0.9337, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2352/0.2352, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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.CombiTable1Dv.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.596e-05, allocations: 7.828 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002697/0.002713, allocations: 1.657 MB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.003629, allocations: 0.5491 MB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.003675, allocations: 0 / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.003915, allocations: 75.7 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.004189, allocations: 107.5 kB / 327.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.004449, allocations: 115.6 kB / 327.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.004601, allocations: 91.73 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.512e-05/0.004676, allocations: 12 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.004753, allocations: 47.88 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.004843, allocations: 43.89 kB / 328 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004857, allocations: 4 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.004951, allocations: 51.84 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.004991, allocations: 15.94 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.005017, allocations: 19.92 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005172, allocations: 91.61 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005175, allocations: 7.984 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005176, allocations: 0 / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.005179, allocations: 0 / 328.1 MB, free: 4.773 MB / 298.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.0003518/0.005531, allocations: 313.6 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.00556, allocations: 8.031 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.005594, allocations: 12.86 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005741, allocations: 143.5 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005753, allocations: 8.359 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.005771, allocations: 384 / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.005863, allocations: 54.95 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.005872, allocations: 4.188 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.005879, allocations: 4.125 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005885, allocations: 4 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.005912, allocations: 7.984 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.006152, allocations: 175.5 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.006209, allocations: 29.41 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.006229, allocations: 12.94 kB / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.006242, allocations: 0 / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.006268, allocations: 42.5 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.006269, allocations: 0 / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004853/0.006754, allocations: 153.7 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.006786, allocations: 51.41 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.006927, allocations: 181.5 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006939, allocations: 25.7 kB / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.006976, allocations: 100.1 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.007006, allocations: 31.73 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.007044, allocations: 21.7 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.007138, allocations: 322.8 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.007155, allocations: 4 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.007173, allocations: 15.98 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.00722, allocations: 27.66 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007222, allocations: 4 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.703e-05/0.007309, allocations: 65.86 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.007319, allocations: 6.344 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.007323, allocations: 0 / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007337, allocations: 7.984 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.007415, allocations: 15.98 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007419, allocations: 0 / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.007449, allocations: 4 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.007456, allocations: 8 kB / 330 MB, free: 2.785 MB / 298.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.431e-05/0.00752, allocations: 108.7 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.007556, allocations: 19.92 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007678, allocations: 71.08 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00768, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.007681, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.007687, allocations: 3.984 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.007992, allocations: 259.5 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007993, allocations: 0 / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.008045, allocations: 16.03 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.008048, allocations: 3.984 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.008054, allocations: 0 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008057, allocations: 4 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008058, allocations: 3.938 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.00817, allocations: 168.2 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.008185, allocations: 11.91 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.008199, allocations: 0 / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.008261, allocations: 4 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.008284, allocations: 3.984 kB / 330.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.008292, allocations: 8 kB / 330.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.264e-05/0.008354, allocations: 52.14 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008354, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.008598, allocations: 20 kB / 330.7 MB, free: 1.973 MB / 298.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.001356/0.009954, allocations: 0.5767 MB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.01003, allocations: 40.77 kB / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01003, allocations: 0 / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.01006, allocations: 24.78 kB / 331.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.0102, allocations: 27.27 kB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.01048, allocations: 227.6 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.01051, allocations: 71.33 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.01054, allocations: 13.11 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.01059, allocations: 63.36 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01059, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of Templates: time 0.002614/0.01321, allocations: 1.514 MB / 333.3 MB, free: 15.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.9328867699950933]