Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 175.1 kB / 17.41 MB, free: 4.293 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.408/1.408, allocations: 225.7 MB / 243.9 MB, free: 10.2 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.0007537/0.0007536, allocations: 85.02 kB / 295 MB, free: 9.723 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.3097/0.3097, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 8 kB / 463.2 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3214, allocations: 61.9 MB / 0.5127 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001676/0.3231, allocations: 1.402 MB / 0.5141 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3242, allocations: 0.8938 MB / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.3243, allocations: 0 / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.3246, allocations: 49.36 kB / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3248, allocations: 58.03 kB / 0.5151 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3251, allocations: 98.31 kB / 0.5152 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3252, allocations: 93.72 kB / 0.5153 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.3253, allocations: 13.73 kB / 0.5153 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3254, allocations: 44.94 kB / 0.5153 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.3254, allocations: 29.97 kB / 0.5154 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3255, allocations: 3 kB / 0.5154 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.178e-05/0.3256, allocations: 37.55 kB / 0.5154 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.3256, allocations: 25.36 kB / 0.5154 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.3257, allocations: 72.16 kB / 0.5155 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3259, allocations: 125.2 kB / 0.5156 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3259, allocations: 0 / 0.5156 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3259, allocations: 0 / 0.5156 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3259, allocations: 0 / 0.5156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004076/0.3263, allocations: 414.7 kB / 0.516 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3263, allocations: 12.88 kB / 0.516 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.3264, allocations: 18.97 kB / 0.516 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3266, allocations: 219.4 kB / 0.5162 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3266, allocations: 1.531 kB / 0.5162 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3266, allocations: 6.375 kB / 0.5162 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3268, allocations: 60.16 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3268, allocations: 0 / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3268, allocations: 1 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3268, allocations: 0.9062 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.3269, allocations: 19.42 kB / 0.5163 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.3272, allocations: 300.4 kB / 0.5166 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3273, allocations: 61.97 kB / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.3274, allocations: 17.86 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3274, allocations: 0 / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3275, allocations: 71.12 kB / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3275, allocations: 0 / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004433/0.328, allocations: 175.4 kB / 0.5169 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.328, allocations: 57.48 kB / 0.517 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3282, allocations: 258.4 kB / 0.5172 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3282, allocations: 29.7 kB / 0.5173 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.3283, allocations: 109 kB / 0.5174 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3283, allocations: 31.88 kB / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.3283, allocations: 0 / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3284, allocations: 332.5 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.3285, allocations: 17.94 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.3285, allocations: 44.92 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.402e-05/0.3286, allocations: 58.22 kB / 0.5178 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3286, allocations: 4 kB / 0.5178 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.3288, allocations: 102 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3288, allocations: 5.531 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3288, allocations: 2.688 kB / 0.5179 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3288, allocations: 3.938 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.3289, allocations: 21.47 kB / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3289, allocations: 0 / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.329, allocations: 10.88 kB / 0.518 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.329, allocations: 2.969 kB / 0.518 GB, free: 34.1 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.742e-05/0.3291, allocations: 140.6 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3291, allocations: 16.64 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.3292, allocations: 17.69 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3292, allocations: 2.719 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3292, allocations: 0 / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3292, allocations: 7.219 kB / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3295, allocations: 404.7 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3295, allocations: 0 / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.3296, allocations: 7.469 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3296, allocations: 1.094 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.3296, allocations: 8.312 kB / 0.5185 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3296, allocations: 0.875 kB / 0.5185 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3296, allocations: 1.094 kB / 0.5185 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3298, allocations: 207.9 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.3298, allocations: 92.31 kB / 0.5188 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3299, allocations: 9.312 kB / 0.5188 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.3299, allocations: 5.891 kB / 0.5188 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.33, allocations: 6.922 kB / 0.5189 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.33, allocations: 3.656 kB / 0.5189 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.3301, allocations: 203.3 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 1.188 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.3304, allocations: 24.47 kB / 0.5191 GB, free: 33.19 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: 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 (8): * Single equations (assignments): 6 * 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.0009771/0.3314, allocations: 0.5247 MB / 0.5196 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3316, allocations: 63.3 kB / 0.5196 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3316, allocations: 4.062 kB / 0.5197 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.3316, allocations: 24.92 kB / 0.5197 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.332, allocations: 35.3 kB / 0.5197 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.3325, allocations: 316.9 kB / 0.52 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3326, allocations: 0.7151 MB / 0.5207 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.3327, allocations: 19.89 kB / 0.5207 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3327, allocations: 17.16 kB / 0.5207 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3327, allocations: 0 / 0.5207 GB, free: 31.9 MB / 378.7 MB Notification: Performance of Templates: time 0.00429/0.337, allocations: 1.647 MB / 0.5224 GB, free: 31.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches