Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0007583/0.0007583, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001863, 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.0006791/0.0006791, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009104/0.001589, 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.9178/0.9178, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/1.055, allocations: 52.49 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.13/0.13, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02205/0.152, 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.CombiTable1Ds.Test25_usertab,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.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,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.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.003e-05, allocations: 6.312 kB / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002392/0.002412, allocations: 1.651 MB / 287.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006373/0.00305, allocations: 430.9 kB / 287.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.003097, allocations: 4 kB / 288 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.003223, allocations: 31.66 kB / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.003332, allocations: 27.86 kB / 288 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.0036, allocations: 99.56 kB / 288.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.003747, allocations: 67.78 kB / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.003821, allocations: 12.16 kB / 288.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.003914, allocations: 51.8 kB / 288.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.003981, allocations: 27.89 kB / 288.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003997, allocations: 0 / 288.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.00412, allocations: 55.92 kB / 288.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.004155, allocations: 4 kB / 288.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.004179, allocations: 11.94 kB / 288.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004351, allocations: 83.67 kB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.004362, allocations: 0 / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004362, allocations: 4 kB / 288.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.004372, allocations: 0 / 288.4 MB, free: 5.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003938/0.004765, allocations: 308.1 kB / 288.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.004798, allocations: 8.031 kB / 288.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.004833, allocations: 8.922 kB / 288.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.004976, allocations: 133.6 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.004984, allocations: 384 / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.005005, allocations: 4.375 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005125, allocations: 94.38 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005135, allocations: 4.172 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.005144, allocations: 7.938 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005151, allocations: 4 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.005178, allocations: 15.97 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.00542, allocations: 167.1 kB / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.005485, allocations: 41.38 kB / 289.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.005504, allocations: 13.05 kB / 289.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.005522, allocations: 0 / 289.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.005545, allocations: 38.55 kB / 289.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.005546, allocations: 0 / 289.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000303/0.005849, allocations: 109.4 kB / 289.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.005873, allocations: 51.41 kB / 289.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.005976, allocations: 144.2 kB / 289.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005989, allocations: 29.7 kB / 289.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.006024, allocations: 96.05 kB / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.006046, allocations: 27.73 kB / 289.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.006082, allocations: 21.7 kB / 289.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.006162, allocations: 318.8 kB / 290 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.006182, allocations: 10.81 kB / 290 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.006219, allocations: 55.41 kB / 290.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.006277, allocations: 30.5 kB / 290.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.006278, allocations: 4.031 kB / 290.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.02e-05/0.006358, allocations: 64.38 kB / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006369, allocations: 8 kB / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006373, allocations: 0 / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.006383, allocations: 0 / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.006459, allocations: 19.98 kB / 290.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.006462, allocations: 0 / 290.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.006486, allocations: 7.938 kB / 290.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.006492, allocations: 4 kB / 290.2 MB, free: 3.828 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 (9): * Single equations (assignments): 9 * 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 5.783e-05/0.00655, allocations: 120.7 kB / 290.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.006575, allocations: 11.94 kB / 290.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.006673, allocations: 66.52 kB / 290.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006675, allocations: 0 / 290.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006676, allocations: 0 / 290.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.00668, allocations: 3.984 kB / 290.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.006934, allocations: 278.5 kB / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006936, allocations: 384 / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.006982, allocations: 19.98 kB / 290.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.006993, allocations: 19.88 kB / 290.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006997, allocations: 4 kB / 290.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.007002, allocations: 4 kB / 290.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007003, allocations: 0 / 290.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.007005, allocations: 3.984 kB / 290.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.007097, allocations: 147.5 kB / 290.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.007109, allocations: 0 / 290.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.007167, allocations: 11.98 kB / 290.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.007192, allocations: 3.984 kB / 290.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007197, allocations: 4 kB / 290.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.007234, allocations: 34.12 kB / 290.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007234, allocations: 0 / 290.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000206/0.00744, allocations: 35.94 kB / 291 MB, free: 3.02 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 (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.001586/0.009026, allocations: 0.6088 MB / 291.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.892e-05/0.009125, allocations: 44.78 kB / 291.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.009131, allocations: 0 / 291.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.00917, allocations: 32.77 kB / 291.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.009425, allocations: 87.33 kB / 291.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.009847, allocations: 178.4 kB / 291.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.009886, allocations: 63.34 kB / 292 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.009938, allocations: 24.88 kB / 292 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.01001, allocations: 71.36 kB / 292.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01001, allocations: 0 / 292.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003741/0.01375, allocations: 1.777 MB / 293.9 MB, free: 400 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.610984959639609]