Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001958/0.003122, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002864, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9554/0.9554, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.174/1.129, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.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.1397/0.1397, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0254/0.1651, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.179e-05, allocations: 9.406 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001795/0.001806, allocations: 1.704 MB / 287.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.002304, allocations: 430.8 kB / 288 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.00234, allocations: 4 kB / 288 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.002725, allocations: 483 kB / 288.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.002952, allocations: 279.3 kB / 288.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.003154, allocations: 131.5 kB / 288.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003305, allocations: 159.6 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.003373, allocations: 8.188 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.003505, allocations: 151.8 kB / 289.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.003656, allocations: 191.6 kB / 289.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.003672, allocations: 4 kB / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.003738, allocations: 35.92 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.00381, allocations: 79.72 kB / 289.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.003838, allocations: 35.75 kB / 289.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004014, allocations: 183.2 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.004023, allocations: 4 kB / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004024, allocations: 0 / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.004031, allocations: 0 / 289.7 MB, free: 4.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004729/0.004504, allocations: 0.5837 MB / 290.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.00454, allocations: 8.031 kB / 290.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.004579, allocations: 24.92 kB / 290.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.004752, allocations: 246 kB / 290.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.004759, allocations: 384 / 290.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.00478, allocations: 8.359 kB / 290.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.004863, allocations: 58.94 kB / 290.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.004872, allocations: 8.188 kB / 290.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.00488, allocations: 3.938 kB / 290.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.004883, allocations: 0 / 290.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.004905, allocations: 11.98 kB / 290.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.005087, allocations: 164.2 kB / 290.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.005198, allocations: 26.64 kB / 290.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.005212, allocations: 12.94 kB / 290.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.005227, allocations: 3.938 kB / 290.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.005244, allocations: 34.56 kB / 290.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.005245, allocations: 0 / 290.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002459/0.005491, allocations: 97.53 kB / 291 MB, free: 3.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.005519, allocations: 55.41 kB / 291 MB, free: 3.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.005819, allocations: 0.5205 MB / 291.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.005828, allocations: 25.7 kB / 291.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.005893, allocations: 149.2 kB / 291.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.005908, allocations: 11.91 kB / 291.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.005931, allocations: 13.72 kB / 291.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.006022, allocations: 362.7 kB / 292.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.006032, allocations: 3.938 kB / 292.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-06/0.006039, allocations: 8 kB / 292.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.006065, allocations: 24.84 kB / 292.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006066, allocations: 0 / 292.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.224e-05/0.006118, allocations: 61.61 kB / 292.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.006128, allocations: 4 kB / 292.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.006131, allocations: 3.938 kB / 292.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.006139, allocations: 0 / 292.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.006178, allocations: 15.98 kB / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.00618, allocations: 3.938 kB / 292.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.006202, allocations: 4 kB / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.006205, allocations: 0 / 292.2 MB, free: 1.848 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 (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 6.238e-05/0.006268, allocations: 116.7 kB / 292.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.006292, allocations: 27.91 kB / 292.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.00639, allocations: 85.36 kB / 292.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006391, allocations: 0 / 292.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.006394, allocations: 4.062 kB / 292.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006397, allocations: 0 / 292.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.006599, allocations: 278.6 kB / 292.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0066, allocations: 0 / 292.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.006624, allocations: 8 kB / 292.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.006647, allocations: 39.7 kB / 292.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006648, allocations: 4 kB / 292.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.006652, allocations: 3.984 kB / 292.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006654, allocations: 0 / 292.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006655, allocations: 0 / 292.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.433e-05/0.006729, allocations: 159.4 kB / 292.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.006744, allocations: 7.984 kB / 293 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.006779, allocations: 4 kB / 293 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.006801, allocations: 0 / 293 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.006803, allocations: 288 / 293 MB, free: 1.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.006967, allocations: 279.2 kB / 293.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006967, allocations: 0 / 293.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.007103, allocations: 31.92 kB / 293.3 MB, free: 0.7656 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 (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.001204/0.008307, allocations: 0.5334 MB / 293.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.00837, allocations: 24.78 kB / 293.8 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.008382, allocations: 8 kB / 293.8 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.008408, allocations: 24.78 kB / 293.9 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.00862, allocations: 99.17 kB / 294 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.009269, allocations: 0.5729 MB / 294.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.009334, allocations: 123.2 kB / 294.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.009362, allocations: 8 kB / 294.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.009409, allocations: 59.36 kB / 294.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00941, allocations: 0 / 294.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.003273/0.01268, allocations: 1.438 MB / 296.1 MB, free: 14.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.729467995464802]