Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0007693/0.0007693, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001812, 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.0006294/0.0006294, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008763/0.001506, 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.8962/0.8962, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1494/1.046, allocations: 52.48 MB / 238.5 MB, free: 7.625 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.1307/0.1307, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0195/0.1502, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.995e-05, allocations: 9.344 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002966/0.002986, allocations: 1.66 MB / 287.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.003716, allocations: 430.9 kB / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.00377, allocations: 0 / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.004002, allocations: 99.62 kB / 288.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.004158, allocations: 63.73 kB / 288.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.004499, allocations: 119.5 kB / 288.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004668, allocations: 75.75 kB / 288.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.004756, allocations: 12.19 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004873, allocations: 63.81 kB / 288.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.004968, allocations: 47.89 kB / 288.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004987, allocations: 4 kB / 288.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.005091, allocations: 43.92 kB / 288.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.005137, allocations: 19.92 kB / 288.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.005164, allocations: 11.94 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.005342, allocations: 87.61 kB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.005353, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.005355, allocations: 4 kB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.005366, allocations: 0 / 288.6 MB, free: 5.629 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.0004448/0.00581, allocations: 323.8 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.005844, allocations: 16.02 kB / 288.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.005882, allocations: 8.938 kB / 289 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.006173, allocations: 144.2 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.006182, allocations: 384 / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006205, allocations: 4.375 kB / 289.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.006316, allocations: 58.94 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.006328, allocations: 4.141 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.006336, allocations: 3.938 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.006344, allocations: 4 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.006369, allocations: 11.94 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.006645, allocations: 171.1 kB / 289.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.006712, allocations: 41.38 kB / 289.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.006728, allocations: 8.859 kB / 289.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006747, allocations: 7.938 kB / 289.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.006774, allocations: 34.5 kB / 289.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.006775, allocations: 0 / 289.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005388/0.007314, allocations: 149.5 kB / 289.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.007343, allocations: 51.41 kB / 289.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.008559, allocations: 184.3 kB / 289.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.008581, allocations: 29.7 kB / 289.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.008634, allocations: 100.1 kB / 289.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.008672, allocations: 27.78 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.008717, allocations: 17.72 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.008816, allocations: 326.8 kB / 290.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.008854, allocations: 7.984 kB / 290.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.008874, allocations: 8 kB / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.008931, allocations: 31.59 kB / 290.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.008934, allocations: 3.938 kB / 290.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.00904, allocations: 57.67 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.009056, allocations: 8 kB / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009062, allocations: 0 / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.009076, allocations: 0 / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.009184, allocations: 16 kB / 290.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.00919, allocations: 3.984 kB / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.009226, allocations: 11.95 kB / 290.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.009234, allocations: 0 / 290.4 MB, free: 3.625 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 7.633e-05/0.00931, allocations: 120.5 kB / 290.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.009341, allocations: 11.98 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.009491, allocations: 67.45 kB / 290.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.009494, allocations: 4 kB / 290.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009495, allocations: 0 / 290.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009498, allocations: 4 kB / 290.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.009836, allocations: 259.6 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009837, allocations: 0 / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.009904, allocations: 15.94 kB / 290.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.009916, allocations: 11.91 kB / 290.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.009921, allocations: 4 kB / 290.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.009929, allocations: 3.984 kB / 290.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.009932, allocations: 4 kB / 290.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009934, allocations: 4.031 kB / 290.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.01005, allocations: 168.3 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.01006, allocations: 3.938 kB / 291.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.01012, allocations: 0 / 291.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.01015, allocations: 11.92 kB / 291.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.01016, allocations: 8 kB / 291.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.01022, allocations: 52.64 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01022, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01044, allocations: 23.94 kB / 291.2 MB, free: 2.801 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.001572/0.01201, allocations: 0.627 MB / 291.8 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.0121, allocations: 28.84 kB / 291.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.0121, allocations: 0 / 291.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.01214, allocations: 44.7 kB / 291.9 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01234, allocations: 79.8 kB / 292 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.01278, allocations: 239 kB / 292.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01282, allocations: 71.33 kB / 292.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.01285, allocations: 8.719 kB / 292.3 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.01291, allocations: 71.45 kB / 292.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01291, allocations: 0 / 292.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of Templates: time 0.002911/0.01582, allocations: 1.504 MB / 293.9 MB, free: 416 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.652408190071583]