Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0007768/0.0007768, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001879, 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.0006606/0.0006606, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009603/0.001621, 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.8991/0.8991, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1685/1.068, allocations: 52.49 MB / 238.5 MB, free: 7.613 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.1272/0.1272, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01804/0.1452, allocations: 12.54 MB / 284.5 MB, free: 9.691 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.268e-05, allocations: 2.312 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001772/0.001784, allocations: 1.641 MB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004806/0.002265, allocations: 418.9 kB / 287.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.002308, allocations: 4 kB / 287.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.002417, allocations: 35.66 kB / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.002513, allocations: 27.86 kB / 288 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.002705, allocations: 119.5 kB / 288.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002808, allocations: 59.84 kB / 288.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.002876, allocations: 7.938 kB / 288.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.002948, allocations: 47.89 kB / 288.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.002992, allocations: 11.94 kB / 288.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.003004, allocations: 0 / 288.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.003061, allocations: 39.86 kB / 288.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.003093, allocations: 11.94 kB / 288.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.003111, allocations: 7.938 kB / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.00322, allocations: 59.81 kB / 288.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.00323, allocations: 0 / 288.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00323, allocations: 0 / 288.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.003238, allocations: 4 kB / 288.3 MB, free: 5.875 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.0003267/0.003565, allocations: 288.1 kB / 288.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.003592, allocations: 12.03 kB / 288.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.003619, allocations: 4.938 kB / 288.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.003731, allocations: 125.7 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.00374, allocations: 8.375 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.003757, allocations: 384 / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.003833, allocations: 54.94 kB / 288.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.003839, allocations: 192 / 288.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.003848, allocations: 12.12 kB / 288.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003852, allocations: 0 / 288.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.00387, allocations: 11.98 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.004044, allocations: 167 kB / 289 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.004155, allocations: 33.39 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.004169, allocations: 4.859 kB / 289.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.004183, allocations: 4 kB / 289.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.0042, allocations: 30.62 kB / 289.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004201, allocations: 0 / 289.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000226/0.004427, allocations: 85.58 kB / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.004452, allocations: 55.41 kB / 289.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.004521, allocations: 143.3 kB / 289.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.00453, allocations: 25.7 kB / 289.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.004558, allocations: 104 kB / 289.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.004574, allocations: 11.86 kB / 289.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.004596, allocations: 13.72 kB / 289.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.00466, allocations: 326.8 kB / 289.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004671, allocations: 4 kB / 289.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.004679, allocations: 4 kB / 289.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.004704, allocations: 23.66 kB / 289.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.004704, allocations: 0 / 289.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.457e-05/0.004749, allocations: 53.62 kB / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.004758, allocations: 4 kB / 289.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.004761, allocations: 0 / 289.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.004771, allocations: 0 / 289.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.00481, allocations: 15.92 kB / 289.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.004813, allocations: 4 kB / 289.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.004827, allocations: 4 kB / 289.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004831, allocations: 0 / 289.9 MB, free: 4.113 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 4.529e-05/0.004876, allocations: 112.7 kB / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.004892, allocations: 11.92 kB / 290.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.00496, allocations: 62.45 kB / 290.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.004962, allocations: 4 kB / 290.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004963, allocations: 0 / 290.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.004966, allocations: 3.984 kB / 290.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.005119, allocations: 202.8 kB / 290.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.00512, allocations: 3.938 kB / 290.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.005148, allocations: 15.98 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.005153, allocations: 7.891 kB / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005155, allocations: 0 / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.005158, allocations: 4 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005159, allocations: 0 / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00516, allocations: 4 kB / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.413e-05/0.005224, allocations: 151.4 kB / 290.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.005233, allocations: 3.984 kB / 290.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.005261, allocations: 4 kB / 290.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.005281, allocations: 0 / 290.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.005284, allocations: 0 / 290.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.09e-05/0.005315, allocations: 31.67 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005315, allocations: 0 / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001202/0.005435, allocations: 15.92 kB / 290.6 MB, free: 3.426 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.001102/0.006538, allocations: 0.5467 MB / 291.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.006599, allocations: 24.86 kB / 291.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.006604, allocations: 0 / 291.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.006629, allocations: 28.91 kB / 291.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006794, allocations: 81.23 kB / 291.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.007119, allocations: 177.9 kB / 291.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.007151, allocations: 61.41 kB / 291.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.007176, allocations: 15.98 kB / 291.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.00722, allocations: 55.38 kB / 291.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007221, allocations: 0 / 291.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of Templates: time 0.002439/0.009659, allocations: 1.234 MB / 292.8 MB, free: 1.434 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.5501507250592113]