Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 106.7 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3283/0.3283, allocations: 44.12 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2985, allocations: 60.81 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002992/0.3016, allocations: 1.779 MB / 0.5081 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3029, allocations: 0.8716 MB / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.322e-05/0.3031, allocations: 2.812 kB / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.3034, allocations: 86.78 kB / 0.5091 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3037, allocations: 66.11 kB / 0.5091 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.304, allocations: 104.1 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3041, allocations: 106.2 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.3042, allocations: 16.11 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.3043, allocations: 52.48 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.3044, allocations: 60.7 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3044, allocations: 6.969 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3045, allocations: 54.42 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3046, allocations: 34.88 kB / 0.5096 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.3046, allocations: 35.22 kB / 0.5096 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3048, allocations: 126.9 kB / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3048, allocations: 0 / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3049, allocations: 0 / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3049, allocations: 0 / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000565/0.3054, allocations: 431.7 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3055, allocations: 8.594 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3055, allocations: 21.8 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3057, allocations: 215.7 kB / 0.5104 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3058, allocations: 4.312 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3058, allocations: 9.062 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3059, allocations: 57.2 kB / 0.5104 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.306, allocations: 3.938 kB / 0.5104 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.306, allocations: 6.844 kB / 0.5104 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.306, allocations: 0 / 0.5104 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.3061, allocations: 22.73 kB / 0.5105 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.3064, allocations: 311.7 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3066, allocations: 59.92 kB / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.3067, allocations: 29.16 kB / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3067, allocations: 0 / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.3069, allocations: 72.5 kB / 0.5109 GB, free: 35.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3069, allocations: 0 / 0.5109 GB, free: 35.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006618/0.3075, allocations: 237.8 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.3076, allocations: 55.34 kB / 0.5112 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3077, allocations: 224.2 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3077, allocations: 29.7 kB / 0.5114 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.3078, allocations: 109.2 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.3078, allocations: 40.61 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3079, allocations: 29.61 kB / 0.5116 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.3079, allocations: 327.9 kB / 0.5119 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.308, allocations: 25.66 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.3081, allocations: 46.31 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3082, allocations: 87.91 kB / 0.5121 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3082, allocations: 0 / 0.5121 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001746/0.3084, allocations: 122.8 kB / 0.5122 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3084, allocations: 2.938 kB / 0.5122 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3084, allocations: 2.969 kB / 0.5122 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3084, allocations: 3.984 kB / 0.5122 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3085, allocations: 24.45 kB / 0.5122 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3085, allocations: 4.641 kB / 0.5122 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3086, allocations: 6.812 kB / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3086, allocations: 10.22 kB / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.674e-05/0.3087, allocations: 131.1 kB / 0.5124 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3087, allocations: 9.312 kB / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3087, allocations: 21.81 kB / 0.5124 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3087, allocations: 0 / 0.5124 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3087, allocations: 7.172 kB / 0.5124 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3087, allocations: 3.938 kB / 0.5124 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3091, allocations: 456.2 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3092, allocations: 2.938 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.3092, allocations: 20.41 kB / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3092, allocations: 0 / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3092, allocations: 6.109 kB / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3092, allocations: 0 / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3092, allocations: 2.688 kB / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3097, allocations: 0.8288 MB / 0.5137 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.3097, allocations: 87.8 kB / 0.5138 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3098, allocations: 6.938 kB / 0.5138 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3099, allocations: 6.906 kB / 0.5138 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3099, allocations: 14.27 kB / 0.5138 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3099, allocations: 13.66 kB / 0.5138 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.31, allocations: 168.5 kB / 0.514 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 2.688 kB / 0.514 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.3104, allocations: 32.16 kB / 0.514 GB, free: 32.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001118/0.3115, allocations: 0.5135 MB / 0.5145 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3117, allocations: 88.41 kB / 0.5146 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3118, allocations: 0 / 0.5146 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.3118, allocations: 38.56 kB / 0.5146 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3122, allocations: 29.3 kB / 0.5146 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.3127, allocations: 436.2 kB / 0.5151 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3129, allocations: 0.7193 MB / 0.5158 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.313, allocations: 20.73 kB / 0.5158 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.313, allocations: 23.44 kB / 0.5158 GB, free: 31.11 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.313, allocations: 0 / 0.5158 GB, free: 31.11 MB / 378.7 MB Notification: Performance of Templates: time 0.004207/0.3172, allocations: 1.929 MB / 0.5177 GB, free: 30.9 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches