Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0008878/0.0008878, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00596/0.006848, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009474/0.0009474, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002209, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.012/1.012, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08877/1.101, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02626/0.288, allocations: 13.11 MB / 291.5 MB, free: 7.324 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.37e-05, allocations: 5.297 kB / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002086/0.00211, allocations: 1.679 MB / 294.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003389, allocations: 1.333 MB / 295.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.003443, allocations: 4 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003565, allocations: 19.8 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.003772, allocations: 87.48 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.004024, allocations: 119.5 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004151, allocations: 71.84 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.00423, allocations: 11.98 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.004315, allocations: 55.83 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.004401, allocations: 23.91 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.004414, allocations: 4 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.004571, allocations: 99.81 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.004605, allocations: 7.938 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.004626, allocations: 8 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.004801, allocations: 131.5 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.004812, allocations: 0 / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004813, allocations: 0 / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.004822, allocations: 4 kB / 296.5 MB, free: 2.508 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.0003664/0.005189, allocations: 313.2 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.005215, allocations: 8.031 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.005246, allocations: 4.938 kB / 296.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.005383, allocations: 132.1 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.005392, allocations: 8.312 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.005409, allocations: 4.312 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005524, allocations: 94.36 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005533, allocations: 4.188 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.005539, allocations: 4.125 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005545, allocations: 4 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.005561, allocations: 4 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.005759, allocations: 179 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.005879, allocations: 33.39 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.005893, allocations: 4.859 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.005908, allocations: 0 / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.005926, allocations: 34.56 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.005927, allocations: 0 / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002458/0.006173, allocations: 89.61 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.006194, allocations: 55.41 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.006278, allocations: 142.1 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.006287, allocations: 25.7 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.006316, allocations: 92.08 kB / 297.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006334, allocations: 23.83 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.00636, allocations: 17.7 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.006429, allocations: 318.8 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.00644, allocations: 8 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.006469, allocations: 51.36 kB / 298.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.006497, allocations: 19.67 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006498, allocations: 0 / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.167e-05/0.006549, allocations: 53.66 kB / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.00656, allocations: 4 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006564, allocations: 0 / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.006575, allocations: 0 / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.006623, allocations: 15.98 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.006626, allocations: 0 / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.006644, allocations: 3.938 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006648, allocations: 4.281 kB / 298.2 MB, free: 0.6055 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 5.35e-05/0.006702, allocations: 112.7 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.006719, allocations: 15.92 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.006809, allocations: 70.05 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006811, allocations: 4 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006812, allocations: 0 / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006815, allocations: 0 / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.006988, allocations: 211 kB / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.00699, allocations: 4 kB / 298.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.007022, allocations: 19.98 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.007028, allocations: 3.953 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00703, allocations: 0 / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.007035, allocations: 4 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.007036, allocations: 4 kB / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007037, allocations: 0 / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.664e-05/0.007124, allocations: 151.6 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.007134, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.178e-05/0.007166, allocations: 4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.007187, allocations: 4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007191, allocations: 3.984 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.007221, allocations: 33.22 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007221, allocations: 4 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.007379, allocations: 35.88 kB / 298.9 MB, free: 15.87 MB / 298.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.001379/0.008757, allocations: 0.7 MB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.008839, allocations: 16.86 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.008845, allocations: 4 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.00887, allocations: 20.84 kB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.009055, allocations: 87.27 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.00944, allocations: 170.5 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.009473, allocations: 67.2 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.009511, allocations: 8 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.009571, allocations: 67.36 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009572, allocations: 0 / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of Templates: time 0.003415/0.01299, allocations: 2.027 MB / 302.1 MB, free: 13.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.8674644958227873]