Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.000926/0.000926, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001061/0.001061, allocations: 168.1 kB / 24.82 MB, free: 9.273 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.9487/0.9487, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2237/0.2237, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.404e-05, allocations: 5.406 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003112/0.003136, allocations: 1.653 MB / 378.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004138, allocations: 0.5376 MB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.004204, allocations: 0 / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.00453, allocations: 107.7 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.004871, allocations: 123.4 kB / 378.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.005188, allocations: 115.6 kB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.005369, allocations: 91.73 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.005469, allocations: 15.98 kB / 379.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.005565, allocations: 47.88 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.005688, allocations: 67.86 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005705, allocations: 4 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.005811, allocations: 47.86 kB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.005863, allocations: 27.91 kB / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.005894, allocations: 19.88 kB / 379.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.006079, allocations: 95.66 kB / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006081, allocations: 0 / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006082, allocations: 4 kB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.006086, allocations: 0 / 379.4 MB, free: 1.387 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.0004633/0.006549, allocations: 459.7 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.006592, allocations: 12.03 kB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.006638, allocations: 16.78 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.006804, allocations: 153.2 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.006815, allocations: 4.375 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.006835, allocations: 4.375 kB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.006952, allocations: 50.95 kB / 380.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.006964, allocations: 4.188 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.006974, allocations: 8.125 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.00698, allocations: 0 / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.007013, allocations: 11.98 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.007341, allocations: 272.3 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.783e-05/0.007409, allocations: 43.03 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.00743, allocations: 11.69 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.007453, allocations: 4.078 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.007479, allocations: 45.27 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.00748, allocations: 0 / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005731/0.008054, allocations: 153.4 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.008098, allocations: 51.41 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.008301, allocations: 259 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.008314, allocations: 25.7 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.008398, allocations: 166.8 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.008431, allocations: 27.73 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.008475, allocations: 31.36 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.008628, allocations: 0.5001 MB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.008656, allocations: 11.98 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.008678, allocations: 16 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.008738, allocations: 35.67 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00874, allocations: 7.875 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.008858, allocations: 74 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.008873, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008877, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.00889, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.008978, allocations: 19.98 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.00898, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.009014, allocations: 8 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009021, allocations: 4 kB / 381.9 MB, free: 14.73 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 9.155e-05/0.009112, allocations: 164.5 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.009152, allocations: 19.89 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.009314, allocations: 83.12 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.009318, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.00932, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009324, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.009724, allocations: 349.6 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009726, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.009792, allocations: 12 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.009796, allocations: 8.031 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.009805, allocations: 3.984 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.009809, allocations: 3.938 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009811, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.009993, allocations: 235.8 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01001, allocations: 11.91 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01003, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.0101, allocations: 3.984 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.01013, allocations: 4 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01014, allocations: 8 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01025, allocations: 175.1 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01025, allocations: 4 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01053, allocations: 19.94 kB / 383 MB, free: 13.56 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.001284/0.01182, allocations: 454.8 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.01194, allocations: 39.64 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01194, allocations: 4 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.01199, allocations: 23.62 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.01231, allocations: 24.05 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01274, allocations: 245.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.0128, allocations: 71.33 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01285, allocations: 17.02 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.01294, allocations: 82.2 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01294, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003906/0.01684, allocations: 1.567 MB / 385.5 MB, free: 11.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.872160962317139]