Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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/HanserModelica 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 HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 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(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.000951, allocations: 178.2 kB / 15.43 MB, free: 5.879 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.04143/0.04143, allocations: 8.921 MB / 25.1 MB, free: 3.551 MB / 18.57 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.461/1.461, allocations: 225.7 MB / 253.7 MB, free: 5.207 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.0007994/0.0007994, allocations: 91.08 kB / 307 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2971, allocations: 52.54 MB / 422.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001225/0.2984, allocations: 0.983 MB / 423.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 4.374e-05/0.2984, allocations: 14.39 kB / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.2984, allocations: 0 / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.2985, allocations: 0.75 kB / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.2985, allocations: 5.922 kB / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.387e-05/0.2986, allocations: 3.188 kB / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.2986, allocations: 3.75 kB / 423.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.2987, allocations: 6.609 kB / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.2987, allocations: 2.125 kB / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.2987, allocations: 5.859 kB / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2988, allocations: 1.188 kB / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.2988, allocations: 0 / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2988, allocations: 0 / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2988, allocations: 32.7 kB / 423.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.67e-05/0.2989, allocations: 13.31 kB / 423.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2989, allocations: 2.062 kB / 423.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2989, allocations: 0 / 423.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.2989, allocations: 0.8125 kB / 423.9 MB, free: 47.12 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002579/0.2992, allocations: 317.2 kB / 424.2 MB, free: 46.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2992, allocations: 9.531 kB / 424.2 MB, free: 46.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.2993, allocations: 8.781 kB / 424.2 MB, free: 46.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2994, allocations: 164.1 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2994, allocations: 4.062 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2994, allocations: 1.25 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.2995, allocations: 44.67 kB / 424.4 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2995, allocations: 192 / 424.4 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2995, allocations: 6.453 kB / 424.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2995, allocations: 3.938 kB / 424.5 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.2996, allocations: 9.312 kB / 424.5 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.2998, allocations: 468 kB / 424.9 MB, free: 46.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.2999, allocations: 169.8 kB / 425.1 MB, free: 45.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.2999, allocations: 82.55 kB / 425.2 MB, free: 45.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2999, allocations: 83.16 kB / 425.3 MB, free: 45.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3, allocations: 108.8 kB / 425.4 MB, free: 45.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.3, allocations: 3.984 kB / 425.4 MB, free: 45.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.626e-05/0.3001, allocations: 29.23 kB / 425.4 MB, free: 45.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3001, allocations: 129 kB / 425.5 MB, free: 45.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.3002, allocations: 103.5 kB / 425.6 MB, free: 45.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.3002, allocations: 26.36 kB / 425.6 MB, free: 45.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.3002, allocations: 93.97 kB / 425.7 MB, free: 45.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.3002, allocations: 5.188 kB / 425.7 MB, free: 45.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.3003, allocations: 0 / 425.7 MB, free: 45.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.3003, allocations: 313.2 kB / 426 MB, free: 44.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.3003, allocations: 1.188 kB / 426 MB, free: 44.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.3003, allocations: 21.06 kB / 426.1 MB, free: 44.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.3004, allocations: 13.77 kB / 426.1 MB, free: 44.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3004, allocations: 8 kB / 426.1 MB, free: 44.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.997e-05/0.3005, allocations: 44.59 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3005, allocations: 5.625 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3005, allocations: 0 / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.3005, allocations: 1.469 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.3006, allocations: 3.359 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3006, allocations: 1.844 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.3006, allocations: 5.156 kB / 426.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3006, allocations: 1.25 kB / 426.2 MB, free: 44.75 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.089e-05/0.3007, allocations: 194.9 kB / 426.3 MB, free: 44.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3007, allocations: 112 kB / 426.5 MB, free: 44.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.3007, allocations: 106.7 kB / 426.6 MB, free: 44.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.3008, allocations: 181.1 kB / 426.7 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.3008, allocations: 182.7 kB / 426.9 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.3008, allocations: 182.2 kB / 427.1 MB, free: 43.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.301, allocations: 410.3 kB / 427.5 MB, free: 43.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.301, allocations: 107 kB / 427.6 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.301, allocations: 103.1 kB / 427.7 MB, free: 43.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/0.301, allocations: 180.8 kB / 427.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3011, allocations: 182.3 kB / 428 MB, free: 42.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-05/0.3011, allocations: 189.7 kB / 428.2 MB, free: 42.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-05/0.3011, allocations: 180.2 kB / 428.4 MB, free: 42.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.981e-05/0.3012, allocations: 309.4 kB / 428.7 MB, free: 42.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3012, allocations: 180.6 kB / 428.9 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.3013, allocations: 186.7 kB / 429.1 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.3013, allocations: 101.6 kB / 429.2 MB, free: 41.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3014, allocations: 178.6 kB / 429.3 MB, free: 41.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3014, allocations: 106.6 kB / 429.4 MB, free: 41.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.3014, allocations: 93.22 kB / 429.5 MB, free: 41.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3014, allocations: 0 / 429.5 MB, free: 41.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.3016, allocations: 2.656 kB / 429.5 MB, free: 41.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 7.243e-05/0.3017, allocations: 176.8 kB / 429.7 MB, free: 41.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.3018, allocations: 4.719 kB / 429.7 MB, free: 41.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3018, allocations: 0 / 429.7 MB, free: 41.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.3018, allocations: 4.938 kB / 429.7 MB, free: 41.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3021, allocations: 0.5282 MB / 430.3 MB, free: 40.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.3023, allocations: 162.7 kB / 430.4 MB, free: 40.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.3024, allocations: 0.678 MB / 431.1 MB, free: 39.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.822e-05/0.3024, allocations: 2.312 kB / 431.1 MB, free: 39.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.3024, allocations: 7.438 kB / 431.1 MB, free: 39.6 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3024, allocations: 1.125 kB / 431.1 MB, free: 39.6 MB / 330.7 MB Notification: Performance of Templates: time 0.001531/0.3039, allocations: 196.7 kB / 431.3 MB, free: 39.54 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)