Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 176.8 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.7 MB / 243.9 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008349, allocations: 97.41 kB / 295 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3499/0.3499, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003408, allocations: 11.94 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2969, allocations: 61.9 MB / 0.5127 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001427/0.2983, allocations: 1.311 MB / 0.514 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.2989, allocations: 487 kB / 0.5145 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.299, allocations: 0 / 0.5145 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.2992, allocations: 93.67 kB / 0.5146 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2994, allocations: 64.44 kB / 0.5146 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2996, allocations: 104 kB / 0.5147 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2997, allocations: 92.64 kB / 0.5148 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.2998, allocations: 25.05 kB / 0.5148 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.2999, allocations: 42.08 kB / 0.5149 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.3, allocations: 45.33 kB / 0.5149 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3, allocations: 2.562 kB / 0.5149 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.3001, allocations: 47.89 kB / 0.515 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.3002, allocations: 30.8 kB / 0.515 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3002, allocations: 54.62 kB / 0.5151 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3004, allocations: 114.2 kB / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3004, allocations: 0 / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3004, allocations: 0 / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.3004, allocations: 0 / 0.5152 GB, free: 36.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003409/0.3007, allocations: 412.4 kB / 0.5156 GB, free: 35.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3008, allocations: 12.69 kB / 0.5156 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3008, allocations: 17.03 kB / 0.5156 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3009, allocations: 217.1 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.301, allocations: 3.219 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.301, allocations: 7.406 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3011, allocations: 75.5 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3012, allocations: 0 / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3012, allocations: 2.875 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3012, allocations: 3.281 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3013, allocations: 47.78 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.3016, allocations: 342.9 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3018, allocations: 70.44 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.3018, allocations: 28.47 kB / 0.5163 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3019, allocations: 5.719 kB / 0.5164 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3019, allocations: 30.56 kB / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.3019, allocations: 0 / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009019/0.3028, allocations: 356.2 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.3028, allocations: 54.5 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.303, allocations: 226.1 kB / 0.517 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.303, allocations: 30.8 kB / 0.517 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.3031, allocations: 117.5 kB / 0.5171 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3031, allocations: 44.12 kB / 0.5172 GB, free: 34.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.3031, allocations: 8.969 kB / 0.5172 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.3032, allocations: 325.3 kB / 0.5175 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.3033, allocations: 50.83 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.3034, allocations: 49.69 kB / 0.5176 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.3036, allocations: 119.8 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3036, allocations: 0 / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002649/0.3038, allocations: 161.5 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3039, allocations: 9.969 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3039, allocations: 4 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3039, allocations: 8.406 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3041, allocations: 26.06 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3041, allocations: 0 / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3041, allocations: 12.72 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3042, allocations: 4.531 kB / 0.5179 GB, free: 34.11 MB / 378.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 (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 9.406e-05/0.3043, allocations: 139.2 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3043, allocations: 13.22 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.3047, allocations: 195.7 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3047, allocations: 6.172 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3047, allocations: 0 / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3047, allocations: 4 kB / 0.5183 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.3053, allocations: 0.502 MB / 0.5188 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3053, allocations: 3.734 kB / 0.5188 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.3054, allocations: 32.02 kB / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3054, allocations: 3.469 kB / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3054, allocations: 0 / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3055, allocations: 3.422 kB / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3055, allocations: 0 / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3057, allocations: 265.5 kB / 0.519 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.3058, allocations: 92.33 kB / 0.5191 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3058, allocations: 4.516 kB / 0.5191 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3059, allocations: 7.484 kB / 0.5191 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3059, allocations: 9.844 kB / 0.5192 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.306, allocations: 6.844 kB / 0.5192 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.3061, allocations: 172.9 kB / 0.5193 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3061, allocations: 0 / 0.5193 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.3064, allocations: 32.09 kB / 0.5194 GB, free: 33.07 MB / 378.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 (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 Backend phase and start with SimCode phase: time 0.001028/0.3074, allocations: 0.5129 MB / 0.5199 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.3077, allocations: 127.8 kB / 0.52 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3077, allocations: 0 / 0.52 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3078, allocations: 68.66 kB / 0.52 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3082, allocations: 22.19 kB / 0.5201 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.3087, allocations: 363.1 kB / 0.5204 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3088, allocations: 0.7228 MB / 0.5211 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.3089, allocations: 29.23 kB / 0.5211 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.3089, allocations: 20.59 kB / 0.5212 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3089, allocations: 4 kB / 0.5212 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.003283/0.3122, allocations: 1.486 MB / 0.5226 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches