Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 176.4 kB / 15.43 MB, free: 6.207 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.01176/0.01176, allocations: 1.936 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.289/1.289, 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.0007556/0.0007556, allocations: 93.25 kB / 296.8 MB, free: 10.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 8 kB / 358.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2071, allocations: 50.91 MB / 409.3 MB, free: 50.36 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.001668/0.2088, allocations: 1.858 MB / 411.2 MB, free: 49.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.2095, allocations: 0.6047 MB / 411.8 MB, free: 49.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.2096, allocations: 2.062 kB / 411.8 MB, free: 49.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2096, allocations: 15.64 kB / 411.8 MB, free: 49.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2097, allocations: 41.2 kB / 411.8 MB, free: 49.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2099, allocations: 34.33 kB / 411.9 MB, free: 49.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.21, allocations: 134.6 kB / 412 MB, free: 49.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.2102, allocations: 26.61 kB / 412 MB, free: 49.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.2102, allocations: 44.59 kB / 412.1 MB, free: 49.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.2103, allocations: 49.55 kB / 412.1 MB, free: 49.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2103, allocations: 4.5 kB / 412.1 MB, free: 49.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.2104, allocations: 15.55 kB / 412.1 MB, free: 49.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2104, allocations: 20.52 kB / 412.2 MB, free: 49.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.2105, allocations: 76.64 kB / 412.2 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2106, allocations: 107.5 kB / 412.3 MB, free: 49.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2106, allocations: 1 kB / 412.3 MB, free: 49.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2106, allocations: 1.5 kB / 412.3 MB, free: 49.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.2106, allocations: 0 / 412.3 MB, free: 49.46 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004048/0.2111, allocations: 409.6 kB / 412.7 MB, free: 49.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2111, allocations: 13.06 kB / 412.8 MB, free: 49.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2111, allocations: 11.62 kB / 412.8 MB, free: 49.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2113, allocations: 203.9 kB / 413 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2113, allocations: 3.969 kB / 413 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2113, allocations: 10.16 kB / 413 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2115, allocations: 97.86 kB / 413.1 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2115, allocations: 0 / 413.1 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2115, allocations: 0 / 413.1 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2115, allocations: 2.688 kB / 413.1 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2117, allocations: 63.5 kB / 413.1 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2122, allocations: 383.8 kB / 413.5 MB, free: 48.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.2126, allocations: 71.69 kB / 413.6 MB, free: 48.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.2127, allocations: 33.48 kB / 413.6 MB, free: 48.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2127, allocations: 1.703 kB / 413.6 MB, free: 48.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.2127, allocations: 36.06 kB / 413.7 MB, free: 48.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2127, allocations: 4.812 kB / 413.7 MB, free: 48.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002463/0.213, allocations: 100.2 kB / 413.8 MB, free: 48.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.213, allocations: 51.41 kB / 413.8 MB, free: 48.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2131, allocations: 181.7 kB / 414 MB, free: 48.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.2131, allocations: 26.67 kB / 414 MB, free: 48.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.2132, allocations: 109.7 kB / 414.1 MB, free: 48.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2132, allocations: 13.94 kB / 414.1 MB, free: 48.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.2132, allocations: 0 / 414.1 MB, free: 48.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.2133, allocations: 323.9 kB / 414.5 MB, free: 47.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.2133, allocations: 21.88 kB / 414.5 MB, free: 47.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.2134, allocations: 22.19 kB / 414.5 MB, free: 47.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2135, allocations: 54.3 kB / 414.5 MB, free: 47.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2135, allocations: 0 / 414.5 MB, free: 47.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001517/0.2137, allocations: 89 kB / 414.6 MB, free: 47.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.2137, allocations: 104.6 kB / 414.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2137, allocations: 3.188 kB / 414.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2137, allocations: 0 / 414.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.2138, allocations: 10.28 kB / 414.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2138, allocations: 4.047 kB / 414.8 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.2139, allocations: 12.28 kB / 414.8 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2139, allocations: 3.156 kB / 414.8 MB, free: 47.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/0.2139, allocations: 3.875 kB / 414.8 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001111/0.214, allocations: 50.91 kB / 414.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.214, allocations: 1.875 kB / 414.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.214, allocations: 0.5 kB / 414.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.2141, allocations: 14.42 kB / 414.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.2141, allocations: 4.844 kB / 414.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.2142, allocations: 8.812 kB / 414.9 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.2142, allocations: 2.094 kB / 414.9 MB, free: 47.63 MB / 330.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 (6): * Single equations (assignments): 6 * 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 5.687e-05/0.2142, allocations: 189.1 kB / 415 MB, free: 47.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.2143, allocations: 15.53 kB / 415.1 MB, free: 47.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.2145, allocations: 87.61 kB / 415.1 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2145, allocations: 4.875 kB / 415.1 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2145, allocations: 0 / 415.1 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2145, allocations: 2.859 kB / 415.1 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.2148, allocations: 361.8 kB / 415.5 MB, free: 47.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2148, allocations: 3.938 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.2148, allocations: 17.66 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2149, allocations: 1.562 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2149, allocations: 3.938 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2149, allocations: 3.797 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2149, allocations: 1.312 kB / 415.5 MB, free: 47.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.215, allocations: 182.8 kB / 415.7 MB, free: 46.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2151, allocations: 95.11 kB / 415.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2151, allocations: 3.75 kB / 415.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.2152, allocations: 7.234 kB / 415.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2152, allocations: 1.375 kB / 415.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2152, allocations: 5.125 kB / 415.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.2153, allocations: 136.7 kB / 416 MB, free: 46.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2153, allocations: 0 / 416 MB, free: 46.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002816/0.2156, allocations: 38.56 kB / 416 MB, free: 46.73 MB / 330.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 (4): * Single equations (assignments): 4 * 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 8.216e-05/0.2157, allocations: 110.7 kB / 416.1 MB, free: 46.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.2159, allocations: 77.08 kB / 416.2 MB, free: 46.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2159, allocations: 0 / 416.2 MB, free: 46.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.216, allocations: 22.75 kB / 416.2 MB, free: 46.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2163, allocations: 14.09 kB / 416.2 MB, free: 46.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.2167, allocations: 322.7 kB / 416.5 MB, free: 46.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2168, allocations: 0.7102 MB / 417.2 MB, free: 45.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.2169, allocations: 11.09 kB / 417.2 MB, free: 45.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.2169, allocations: 13.3 kB / 417.3 MB, free: 45.7 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2169, allocations: 0 / 417.3 MB, free: 45.7 MB / 330.7 MB Notification: Performance of Templates: time 0.003067/0.22, allocations: 0.9413 MB / 418.2 MB, free: 45.64 MB / 330.7 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)