Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 175.5 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.419/1.419, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0009489/0.000949, allocations: 99.23 kB / 295.1 MB, free: 9.477 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.3618/0.3618, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004371, allocations: 12 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3168, allocations: 61.91 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.001851/0.3187, allocations: 1.67 MB / 0.5144 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3199, allocations: 1.129 MB / 0.5155 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.3201, allocations: 6.844 kB / 0.5155 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3203, allocations: 42.81 kB / 0.5155 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3206, allocations: 59.09 kB / 0.5156 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.3209, allocations: 133.6 kB / 0.5157 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3211, allocations: 180.1 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3212, allocations: 39.75 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.3213, allocations: 69.77 kB / 0.516 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.3214, allocations: 68.11 kB / 0.5161 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3214, allocations: 5.5 kB / 0.5161 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.3215, allocations: 47.62 kB / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.3215, allocations: 31.31 kB / 0.5161 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.3216, allocations: 85.52 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3219, allocations: 180.8 kB / 0.5164 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3219, allocations: 0 / 0.5164 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3219, allocations: 4 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3219, allocations: 0 / 0.5164 GB, free: 35.28 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007192/0.3227, allocations: 0.538 MB / 0.5169 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3227, allocations: 14.12 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.3228, allocations: 21.78 kB / 0.517 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.323, allocations: 236.3 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.323, allocations: 4.562 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3231, allocations: 16.95 kB / 0.5172 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.3234, allocations: 167.5 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3235, allocations: 0 / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3235, allocations: 1.156 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3235, allocations: 1.938 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.3239, allocations: 140.2 kB / 0.5175 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.3244, allocations: 0.5457 MB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.325, allocations: 193.4 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3253, allocations: 80.36 kB / 0.5183 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3253, allocations: 3.469 kB / 0.5183 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.3257, allocations: 145.3 kB / 0.5184 GB, free: 33.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.3257, allocations: 3.938 kB / 0.5184 GB, free: 33.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008558/0.3266, allocations: 288.5 kB / 0.5187 GB, free: 33.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3266, allocations: 61.41 kB / 0.5188 GB, free: 33.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3268, allocations: 223 kB / 0.519 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3269, allocations: 32.7 kB / 0.519 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.3269, allocations: 133.8 kB / 0.5191 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.327, allocations: 32.59 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.327, allocations: 5.375 kB / 0.5192 GB, free: 33.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.327, allocations: 329 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3273, allocations: 78.95 kB / 0.5196 GB, free: 32.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3276, allocations: 120.5 kB / 0.5197 GB, free: 32.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.3281, allocations: 227.1 kB / 0.5199 GB, free: 32.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3281, allocations: 0 / 0.5199 GB, free: 32.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000599/0.3287, allocations: 275.6 kB / 0.5202 GB, free: 32.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.3287, allocations: 38.33 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3288, allocations: 0 / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3288, allocations: 3.094 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.329, allocations: 47.09 kB / 0.5202 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.329, allocations: 2.75 kB / 0.5202 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3292, allocations: 40.11 kB / 0.5203 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.3292, allocations: 5.719 kB / 0.5203 GB, free: 32.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001164/0.3293, allocations: 139.4 kB / 0.5204 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3294, allocations: 17.75 kB / 0.5204 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.3294, allocations: 22.25 kB / 0.5205 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3294, allocations: 6.938 kB / 0.5205 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3295, allocations: 0 / 0.5205 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3295, allocations: 0 / 0.5205 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3296, allocations: 237 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3296, allocations: 2.781 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3298, allocations: 27.58 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3298, allocations: 0 / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.3299, allocations: 6.938 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3299, allocations: 3.938 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3299, allocations: 4 kB / 0.5207 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.3307, allocations: 343.5 kB / 0.5211 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.3307, allocations: 90.67 kB / 0.5212 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3307, allocations: 10.39 kB / 0.5212 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3309, allocations: 32.09 kB / 0.5212 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.331, allocations: 16.58 kB / 0.5212 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.331, allocations: 5.844 kB / 0.5212 GB, free: 31.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3311, allocations: 160.9 kB / 0.5214 GB, free: 31.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3311, allocations: 0 / 0.5214 GB, free: 31.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.3314, allocations: 48.39 kB / 0.5214 GB, free: 31.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009181/0.3323, allocations: 475.1 kB / 0.5219 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.3329, allocations: 240.8 kB / 0.5221 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3329, allocations: 0 / 0.5221 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.3331, allocations: 101.4 kB / 0.5222 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3335, allocations: 47.25 kB / 0.5222 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.334, allocations: 360.6 kB / 0.5226 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3342, allocations: 0.727 MB / 0.5233 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.952e-05/0.3343, allocations: 24.77 kB / 0.5233 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.3343, allocations: 23.22 kB / 0.5233 GB, free: 30.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3343, allocations: 0 / 0.5233 GB, free: 30.44 MB / 378.7 MB Notification: Performance of Templates: time 0.005426/0.3398, allocations: 2.566 MB / 0.5258 GB, free: 30.2 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)