Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.0009803/0.0009803, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002558, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000965/0.000965, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009507/0.001916, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.067/1.067, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09905/1.166, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2926/0.2926, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02554/0.3181, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.8e-05, allocations: 6.312 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00237/0.002388, allocations: 1.698 MB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.003162, allocations: 0.5393 MB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.003217, allocations: 3.938 kB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.00365, allocations: 497.5 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.003987, allocations: 303.2 kB / 293.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.004263, allocations: 131.6 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.004472, allocations: 175.6 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.004565, allocations: 11.92 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.004736, allocations: 151.8 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.004913, allocations: 195.6 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.004929, allocations: 4 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.675e-05/0.004996, allocations: 20 kB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.894e-05/0.005094, allocations: 79.72 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.005137, allocations: 35.75 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.005356, allocations: 183.2 kB / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-05/0.005375, allocations: 0 / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005376, allocations: 7.938 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.005395, allocations: 0 / 294.6 MB, free: 4.273 MB / 282.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.0007042/0.006099, allocations: 0.5883 MB / 295.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.006145, allocations: 16.02 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.006202, allocations: 20.92 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.006453, allocations: 242 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.006464, allocations: 384 / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.006476, allocations: 4.375 kB / 295.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.006628, allocations: 58.94 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.006639, allocations: 192 / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006651, allocations: 8.125 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.006659, allocations: 0 / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.006686, allocations: 7.938 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.006932, allocations: 160.3 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.007005, allocations: 22.58 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.007025, allocations: 12.86 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.007051, allocations: 0 / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.007075, allocations: 34.5 kB / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.007076, allocations: 0 / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.007203, allocations: 65.69 kB / 295.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.007236, allocations: 55.41 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.007579, allocations: 0.5322 MB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.007592, allocations: 25.7 kB / 296.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.007654, allocations: 137.3 kB / 296.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007677, allocations: 19.84 kB / 296.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.007701, allocations: 13.7 kB / 296.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.007801, allocations: 358.7 kB / 297 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.00781, allocations: 0 / 297 MB, free: 1.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.00782, allocations: 4 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.00785, allocations: 20.78 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007852, allocations: 4 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.373e-05/0.007915, allocations: 61.88 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.007934, allocations: 7.938 kB / 297.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007939, allocations: 48 / 297.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007952, allocations: 3.984 kB / 297.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.008039, allocations: 12 kB / 297.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.008043, allocations: 0 / 297.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.008069, allocations: 7.984 kB / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.008074, allocations: 0 / 297.1 MB, free: 1.629 MB / 282.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 (3): * Single equations (assignments): 3 * 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 7.158e-05/0.008146, allocations: 116.6 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.008171, allocations: 27.97 kB / 297.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008278, allocations: 81.05 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00828, allocations: 0 / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008281, allocations: 0 / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008284, allocations: 0 / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.008417, allocations: 137.8 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008418, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.008446, allocations: 8 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.008471, allocations: 31.72 kB / 297.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008473, allocations: 4 kB / 297.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.008481, allocations: 7.922 kB / 297.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008482, allocations: 4 kB / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008483, allocations: 0 / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.008582, allocations: 151.5 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008596, allocations: 3.984 kB / 297.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.008633, allocations: 4 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.008645, allocations: 3.938 kB / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.00865, allocations: 4 kB / 297.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.008836, allocations: 279.2 kB / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008836, allocations: 0 / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.008983, allocations: 27.92 kB / 298 MB, free: 0.7031 MB / 282.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 (3): * Single equations (assignments): 3 * 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.001065/0.01005, allocations: 471 kB / 298.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.01012, allocations: 24.72 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.01013, allocations: 8 kB / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.01014, allocations: 12.86 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.01034, allocations: 37.95 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.01108, allocations: 0.5696 MB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.01115, allocations: 115.2 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.01118, allocations: 12.17 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.01123, allocations: 51.38 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01123, allocations: 0 / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003466/0.0147, allocations: 1.295 MB / 300.5 MB, free: 14.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.0823339400812984]