Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001439/0.001439, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001736/0.001736, allocations: 172.3 kB / 24.91 MB, free: 8.77 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.909/0.909, 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.2399/0.2399, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.175e-05, allocations: 3.188 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001953/0.001965, allocations: 1.638 MB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003211, allocations: 1.29 MB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.003259, allocations: 0 / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.003454, allocations: 23.84 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.003712, allocations: 95.47 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.003899, allocations: 83.66 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.00401, allocations: 76.38 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.004072, allocations: 8 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.004124, allocations: 35.89 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.004205, allocations: 23.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.004218, allocations: 8 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.004327, allocations: 91.81 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.004364, allocations: 15.92 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.004383, allocations: 11.98 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004544, allocations: 135.5 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.004546, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004546, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.004549, allocations: 0 / 328.8 MB, free: 4.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003968/0.004946, allocations: 301.7 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.004974, allocations: 8.031 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.004999, allocations: 8.938 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005109, allocations: 134.5 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.005115, allocations: 384 / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.005133, allocations: 8.375 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.005229, allocations: 90.36 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005235, allocations: 192 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005244, allocations: 8.125 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005248, allocations: 4 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.005266, allocations: 7.938 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.005432, allocations: 163.1 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.005534, allocations: 30.67 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.005546, allocations: 12.84 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.00556, allocations: 4 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.005575, allocations: 34.5 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.005576, allocations: 0 / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002246/0.005801, allocations: 89.97 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.005831, allocations: 77.11 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.005914, allocations: 144.3 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.005923, allocations: 25.7 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.00595, allocations: 92.08 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.005967, allocations: 23.83 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.005991, allocations: 17.72 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.006054, allocations: 318.8 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.006062, allocations: 4 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.006086, allocations: 47.42 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.006109, allocations: 21.03 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.00611, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.53e-05/0.006155, allocations: 53.56 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.006165, allocations: 10.8 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.006168, allocations: 0 / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.006176, allocations: 0 / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.308e-05/0.006209, allocations: 12.03 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006212, allocations: 4 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.006229, allocations: 4 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.006234, allocations: 3.984 kB / 330.5 MB, free: 2.23 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 (5): * Single equations (assignments): 5 * 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 4.719e-05/0.006281, allocations: 116.6 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.006297, allocations: 7.938 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.006366, allocations: 62.08 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006367, allocations: 288 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006369, allocations: 4 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006373, allocations: 3.984 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.006531, allocations: 210.8 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006532, allocations: 3.938 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.006556, allocations: 11.98 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006557, allocations: 0 / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.006561, allocations: 3.938 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.006561, allocations: 192 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006563, allocations: 4 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.006628, allocations: 143.5 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.006647, allocations: 15.88 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006657, allocations: 4 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.006688, allocations: 4 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.006707, allocations: 4 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006711, allocations: 7.984 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.006741, allocations: 31.66 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006741, allocations: 0 / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.006893, allocations: 35.88 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001176/0.008069, allocations: 0.6348 MB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.061e-05/0.00813, allocations: 24.8 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.008133, allocations: 4 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.008148, allocations: 20.84 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.008279, allocations: 19.92 kB / 331.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.00851, allocations: 170.5 kB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.008538, allocations: 58.61 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.00857, allocations: 15.97 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.008633, allocations: 63.36 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008634, allocations: 0 / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of Templates: time 0.003343/0.01198, allocations: 1.984 MB / 334.2 MB, free: 14.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.003447885159403]