Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0007484/0.0007484, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.001974, 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.0006603/0.0006603, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.00173, 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.936/0.936, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07629/1.012, allocations: 52.49 MB / 238.4 MB, free: 4.363 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.126/0.126, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/0.2622, allocations: 12.54 MB / 284.5 MB, free: 11.89 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.701e-05, allocations: 3.422 kB / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002391/0.002408, allocations: 1.67 MB / 287.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006406/0.003049, allocations: 427.9 kB / 287.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.003095, allocations: 1.062 kB / 287.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.003284, allocations: 77.02 kB / 288 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.00341, allocations: 78.88 kB / 288.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.003644, allocations: 120.4 kB / 288.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.003778, allocations: 73.36 kB / 288.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.003852, allocations: 10.39 kB / 288.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.00395, allocations: 57.86 kB / 288.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.004037, allocations: 48.22 kB / 288.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.004055, allocations: 3.562 kB / 288.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.004152, allocations: 51.48 kB / 288.5 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.004196, allocations: 14.81 kB / 288.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.004219, allocations: 12.03 kB / 288.5 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004362, allocations: 81.27 kB / 288.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.004373, allocations: 0 / 288.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004373, allocations: 0 / 288.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.004382, allocations: 1.844 kB / 288.6 MB, free: 8.824 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.0003417/0.004724, allocations: 319.4 kB / 288.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.004753, allocations: 16.84 kB / 288.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.004781, allocations: 9.328 kB / 288.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.004909, allocations: 139.8 kB / 289 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.004916, allocations: 5.719 kB / 289 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.004936, allocations: 7.078 kB / 289.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.00502, allocations: 56.02 kB / 289.1 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005028, allocations: 192 / 289.1 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.005035, allocations: 3.938 kB / 289.1 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00504, allocations: 2.375 kB / 289.1 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.005061, allocations: 18.03 kB / 289.1 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.005269, allocations: 178.5 kB / 289.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.005319, allocations: 29 kB / 289.3 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.005332, allocations: 7.203 kB / 289.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.00535, allocations: 9.938 kB / 289.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.005372, allocations: 38.58 kB / 289.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005372, allocations: 2 kB / 289.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.005764, allocations: 138.8 kB / 289.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.005789, allocations: 52.16 kB / 289.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.005892, allocations: 173.1 kB / 289.7 MB, free: 7.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.005901, allocations: 25.7 kB / 289.8 MB, free: 7.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.005933, allocations: 97.08 kB / 289.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.005956, allocations: 35.62 kB / 289.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.005983, allocations: 19.03 kB / 289.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.006062, allocations: 325.1 kB / 290.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.006075, allocations: 5.062 kB / 290.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.006088, allocations: 10.05 kB / 290.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.006121, allocations: 31.27 kB / 290.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006124, allocations: 3.938 kB / 290.3 MB, free: 7.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.413e-05/0.006188, allocations: 59.06 kB / 290.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.0062, allocations: 5.469 kB / 290.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006203, allocations: 1 kB / 290.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006215, allocations: 5.062 kB / 290.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.006276, allocations: 13.78 kB / 290.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.006279, allocations: 320 / 290.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.006297, allocations: 10.27 kB / 290.4 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006303, allocations: 2.469 kB / 290.4 MB, free: 7.16 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 (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 prepare postOptimizeDAE: time 5.058e-05/0.006353, allocations: 121.7 kB / 290.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.006371, allocations: 9.75 kB / 290.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.006463, allocations: 78.27 kB / 290.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006465, allocations: 1.094 kB / 290.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.006466, allocations: 1.031 kB / 290.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006469, allocations: 7.938 kB / 290.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.006692, allocations: 243.6 kB / 290.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006694, allocations: 1.5 kB / 290.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.006734, allocations: 20.95 kB / 290.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.006745, allocations: 16.64 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006748, allocations: 0 / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006752, allocations: 1.062 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006754, allocations: 1.781 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006755, allocations: 0 / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.582e-05/0.006841, allocations: 160.5 kB / 291 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.006853, allocations: 9.672 kB / 291 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.006885, allocations: 3.562 kB / 291 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.006913, allocations: 10.44 kB / 291.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.006918, allocations: 5.75 kB / 291.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.00696, allocations: 45.44 kB / 291.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00696, allocations: 0 / 291.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.0071, allocations: 18.83 kB / 291.1 MB, free: 6.516 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001359/0.008459, allocations: 0.6404 MB / 291.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.008544, allocations: 40.38 kB / 291.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.008551, allocations: 3.594 kB / 291.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.008583, allocations: 26.83 kB / 291.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.008778, allocations: 87.16 kB / 291.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.009221, allocations: 229.2 kB / 292.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.009264, allocations: 70.33 kB / 292.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.0093, allocations: 10.23 kB / 292.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.009356, allocations: 62.36 kB / 292.3 MB, free: 5.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009357, allocations: 0 / 292.3 MB, free: 5.84 MB / 282.7 MB Notification: Performance of Templates: time 0.002976/0.01233, allocations: 1.497 MB / 293.8 MB, free: 5.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.68130683619529]