Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.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/MEV 1.1.1/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) 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 MEV with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 177.8 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01184/0.01184, allocations: 1.938 MB / 18.11 MB, free: 3.715 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.315/1.315, allocations: 225.7 MB / 245.1 MB, free: 13.84 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.001038/0.001038, allocations: 93.06 kB / 296.8 MB, free: 10.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 8 kB / 358.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2183, allocations: 50.89 MB / 409.3 MB, free: 50.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001117/0.2195, allocations: 1.112 MB / 410.4 MB, free: 50.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.2197, allocations: 90.59 kB / 410.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.2197, allocations: 4.062 kB / 410.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2198, allocations: 0 / 410.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.2198, allocations: 6.297 kB / 410.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.2199, allocations: 8.609 kB / 410.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.22, allocations: 29.05 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.2201, allocations: 8.203 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.2201, allocations: 8.062 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.2202, allocations: 12.11 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2202, allocations: 3.984 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.2202, allocations: 0.8438 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2202, allocations: 0.6875 kB / 410.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2203, allocations: 39.31 kB / 410.6 MB, free: 50.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.495e-05/0.2203, allocations: 22.77 kB / 410.6 MB, free: 50.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2203, allocations: 1.969 kB / 410.7 MB, free: 50.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2203, allocations: 1.219 kB / 410.7 MB, free: 50.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2204, allocations: 0 / 410.7 MB, free: 50.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003399/0.2207, allocations: 341.4 kB / 411 MB, free: 49.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2207, allocations: 16.62 kB / 411 MB, free: 49.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.2208, allocations: 10.11 kB / 411 MB, free: 49.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.999e-05/0.2208, allocations: 165.6 kB / 411.2 MB, free: 49.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2209, allocations: 2.438 kB / 411.2 MB, free: 49.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2209, allocations: 1.5 kB / 411.2 MB, free: 49.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.221, allocations: 58.94 kB / 411.2 MB, free: 49.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.221, allocations: 1.312 kB / 411.2 MB, free: 49.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.221, allocations: 3.938 kB / 411.2 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2211, allocations: 2.75 kB / 411.2 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2212, allocations: 34.28 kB / 411.3 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.2214, allocations: 257.5 kB / 411.5 MB, free: 49.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.2216, allocations: 68.3 kB / 411.6 MB, free: 49.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.2217, allocations: 28.72 kB / 411.6 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.2217, allocations: 1.125 kB / 411.6 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.2219, allocations: 75.5 kB / 411.7 MB, free: 49.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2219, allocations: 3.938 kB / 411.7 MB, free: 49.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002759/0.2222, allocations: 100.4 kB / 411.8 MB, free: 49.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2222, allocations: 53.28 kB / 411.9 MB, free: 49.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.2223, allocations: 105 kB / 412 MB, free: 48.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.2223, allocations: 25.7 kB / 412 MB, free: 48.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.2223, allocations: 84.39 kB / 412.1 MB, free: 48.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2223, allocations: 19.61 kB / 412.1 MB, free: 48.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.2223, allocations: 0 / 412.1 MB, free: 48.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.2224, allocations: 312.3 kB / 412.4 MB, free: 48.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.2225, allocations: 20.97 kB / 412.4 MB, free: 48.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.2225, allocations: 40.11 kB / 412.4 MB, free: 48.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.2226, allocations: 64.61 kB / 412.5 MB, free: 48.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2227, allocations: 3.938 kB / 412.5 MB, free: 48.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001576/0.2228, allocations: 81.67 kB / 412.6 MB, free: 48.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2228, allocations: 6.078 kB / 412.6 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2228, allocations: 0.9375 kB / 412.6 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2229, allocations: 1.281 kB / 412.6 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.2229, allocations: 13.02 kB / 412.6 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.223, allocations: 10.06 kB / 412.6 MB, free: 48.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.223, allocations: 11.83 kB / 412.6 MB, free: 48.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.223, allocations: 2.156 kB / 412.6 MB, free: 48.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.557e-05/0.2231, allocations: 118 kB / 412.8 MB, free: 48.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2231, allocations: 8.875 kB / 412.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.2231, allocations: 10.41 kB / 412.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2231, allocations: 4.562 kB / 412.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2231, allocations: 0 / 412.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2231, allocations: 1.094 kB / 412.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.059e-05/0.2232, allocations: 168.9 kB / 412.9 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2232, allocations: 1.938 kB / 412.9 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.2233, allocations: 7.375 kB / 412.9 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2233, allocations: 3.203 kB / 413 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2233, allocations: 3.75 kB / 413 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2233, allocations: 2.375 kB / 413 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2233, allocations: 0 / 413 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.2235, allocations: 116.5 kB / 413.1 MB, free: 47.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.2235, allocations: 81.69 kB / 413.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2235, allocations: 1.062 kB / 413.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.2236, allocations: 8.188 kB / 413.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2236, allocations: 4.344 kB / 413.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2236, allocations: 0.9688 kB / 413.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.2237, allocations: 82.47 kB / 413.2 MB, free: 47.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2237, allocations: 0 / 413.2 MB, free: 47.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.2239, allocations: 12.94 kB / 413.3 MB, free: 47.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 5.945e-05/0.2239, allocations: 103.6 kB / 413.4 MB, free: 47.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2241, allocations: 47.44 kB / 413.4 MB, free: 47.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2241, allocations: 0 / 413.4 MB, free: 47.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.2242, allocations: 30.38 kB / 413.4 MB, free: 47.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.2243, allocations: 13.64 kB / 413.5 MB, free: 47.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.2246, allocations: 123.5 kB / 413.6 MB, free: 47.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.098e-05/0.2246, allocations: 0.6786 MB / 414.2 MB, free: 46.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2247, allocations: 9.094 kB / 414.3 MB, free: 46.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2247, allocations: 10 kB / 414.3 MB, free: 46.88 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2247, allocations: 0 / 414.3 MB, free: 46.88 MB / 330.7 MB Notification: Performance of Templates: time 0.001744/0.2265, allocations: 349.9 kB / 414.6 MB, free: 46.86 MB / 330.7 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & ./MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1)