Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008332/0.0008332, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002133, allocations: 449.7 kB / 10.37 MB, free: 328 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.001104/0.001104, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002506, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.124, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2833/0.2833, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03035/0.3137, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.163e-05, allocations: 4.203 kB / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002951/0.002973, allocations: 1.747 MB / 292.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.003956, allocations: 0.563 MB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.004016, allocations: 0 / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.004549, allocations: 0.4885 MB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.004998, allocations: 315.1 kB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.005346, allocations: 115.7 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.005641, allocations: 183.6 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.005743, allocations: 11.98 kB / 294.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.005957, allocations: 159.8 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.00617, allocations: 195.6 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.006187, allocations: 8 kB / 294.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006305, allocations: 47.92 kB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.006403, allocations: 83.66 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.006447, allocations: 35.75 kB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.006737, allocations: 207.1 kB / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.845e-05/0.006755, allocations: 0 / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006756, allocations: 0 / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.006775, allocations: 0 / 294.8 MB, free: 4.125 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007555/0.00753, allocations: 0.6116 MB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007566, allocations: 12.03 kB / 295.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.007618, allocations: 24.91 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.007886, allocations: 246 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.007902, allocations: 8.312 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.007927, allocations: 4.375 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.008047, allocations: 58.95 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.008059, allocations: 4.172 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.00807, allocations: 8.109 kB / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.008076, allocations: 0 / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.008107, allocations: 8 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.008384, allocations: 176.2 kB / 295.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.008454, allocations: 26.56 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.00847, allocations: 12.86 kB / 296 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.008497, allocations: 7.938 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.00853, allocations: 34.59 kB / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.008531, allocations: 0 / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005799/0.009111, allocations: 161.5 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.00915, allocations: 55.39 kB / 296.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/0.009626, allocations: 0.5244 MB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.009641, allocations: 25.7 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.009725, allocations: 149.3 kB / 296.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.009756, allocations: 27.75 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.009793, allocations: 21.7 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.009927, allocations: 358.6 kB / 297.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.009943, allocations: 8 kB / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.009961, allocations: 7.984 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.01001, allocations: 32.77 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01001, allocations: 0 / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.696e-05/0.01011, allocations: 73.88 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01012, allocations: 4 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01013, allocations: 0 / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.01014, allocations: 7.938 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.01024, allocations: 23.98 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01024, allocations: 0 / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.01028, allocations: 8 kB / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.01029, allocations: 0 / 297.5 MB, free: 1.258 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 9.365e-05/0.01038, allocations: 116.5 kB / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.01043, allocations: 27.97 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.0106, allocations: 93.53 kB / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01061, allocations: 8 kB / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01061, allocations: 0 / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01062, allocations: 0 / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.01104, allocations: 307.4 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01104, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.0111, allocations: 19.98 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.01114, allocations: 35.7 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.01114, allocations: 7.938 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.01115, allocations: 4 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01116, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01116, allocations: 4.031 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01132, allocations: 172.7 kB / 298.2 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01134, allocations: 7.984 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.01141, allocations: 4 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.01144, allocations: 7.984 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01145, allocations: 0 / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.01173, allocations: 291.2 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01173, allocations: 0 / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01196, allocations: 31.88 kB / 298.6 MB, free: 80 kB / 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.002014/0.01397, allocations: 0.6313 MB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.0141, allocations: 36.78 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.01412, allocations: 4 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.01416, allocations: 28.78 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01447, allocations: 45.08 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.0156, allocations: 0.6096 MB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01571, allocations: 123.2 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01576, allocations: 5.047 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.01584, allocations: 63.36 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01584, allocations: 4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.005306/0.02114, allocations: 1.738 MB / 301.9 MB, free: 13.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.11638221424073]