Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 177.7 kB / 15.43 MB, free: 5.391 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.0392/0.0392, allocations: 8.919 MB / 25.1 MB, free: 3.59 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.315/1.315, allocations: 225.7 MB / 253.7 MB, free: 5.211 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.0007927/0.0007927, allocations: 94.14 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 12 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2844, allocations: 52.56 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001793/0.2862, allocations: 1.081 MB / 423.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2879, allocations: 1.318 MB / 425.2 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.288, allocations: 1.281 kB / 425.2 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.2884, allocations: 76.75 kB / 425.3 MB, free: 45.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.2885, allocations: 9.234 kB / 425.3 MB, free: 45.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2896, allocations: 0.9529 MB / 426.3 MB, free: 44.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2898, allocations: 33.12 kB / 426.3 MB, free: 44.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.2898, allocations: 4.469 kB / 426.3 MB, free: 44.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2899, allocations: 16.05 kB / 426.3 MB, free: 44.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.29, allocations: 12.41 kB / 426.3 MB, free: 44.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.29, allocations: 1 kB / 426.3 MB, free: 44.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.2903, allocations: 118.2 kB / 426.5 MB, free: 44.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2903, allocations: 5.797 kB / 426.5 MB, free: 44.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.2903, allocations: 39.72 kB / 426.5 MB, free: 44.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2906, allocations: 126.3 kB / 426.6 MB, free: 44.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2906, allocations: 1.906 kB / 426.6 MB, free: 44.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2907, allocations: 0 / 426.6 MB, free: 44.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2907, allocations: 1.875 kB / 426.6 MB, free: 44.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009602/0.2916, allocations: 419 kB / 427 MB, free: 44.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.596e-05/0.2917, allocations: 11.11 kB / 427 MB, free: 44.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.2918, allocations: 6.875 kB / 427.1 MB, free: 44.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2919, allocations: 167.8 kB / 427.2 MB, free: 44.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.292, allocations: 6.5 kB / 427.2 MB, free: 44.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.292, allocations: 6.406 kB / 427.2 MB, free: 44.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2922, allocations: 56.8 kB / 427.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2922, allocations: 2.531 kB / 427.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2922, allocations: 0 / 427.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2922, allocations: 1.156 kB / 427.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.2923, allocations: 38.12 kB / 427.3 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.2925, allocations: 179.7 kB / 427.5 MB, free: 43.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2927, allocations: 63.95 kB / 427.6 MB, free: 43.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.2928, allocations: 30.72 kB / 427.6 MB, free: 43.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2928, allocations: 7.984 kB / 427.6 MB, free: 43.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2928, allocations: 40.5 kB / 427.6 MB, free: 43.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2929, allocations: 0 / 427.6 MB, free: 43.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002518/0.2931, allocations: 95.91 kB / 427.7 MB, free: 43.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2931, allocations: 53.39 kB / 427.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2932, allocations: 103.8 kB / 427.9 MB, free: 43.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.2932, allocations: 25.7 kB / 427.9 MB, free: 43.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.2933, allocations: 85.86 kB / 428 MB, free: 43.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.2933, allocations: 19.92 kB / 428 MB, free: 43.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.2933, allocations: 1.156 kB / 428 MB, free: 43.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.2934, allocations: 313.3 kB / 428.3 MB, free: 43.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.2934, allocations: 22.95 kB / 428.3 MB, free: 43.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.2935, allocations: 18.52 kB / 428.4 MB, free: 43.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.2936, allocations: 53.11 kB / 428.4 MB, free: 43.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2936, allocations: 5.062 kB / 428.4 MB, free: 43.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001235/0.2937, allocations: 80.58 kB / 428.5 MB, free: 43.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2937, allocations: 9.625 kB / 428.5 MB, free: 43.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2938, allocations: 8.062 kB / 428.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2938, allocations: 1.406 kB / 428.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2939, allocations: 12.86 kB / 428.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2939, allocations: 0 / 428.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.294, allocations: 5.953 kB / 428.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.294, allocations: 1.375 kB / 428.5 MB, free: 43.05 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 6.343e-05/0.294, allocations: 117 kB / 428.6 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.2941, allocations: 10.66 kB / 428.7 MB, free: 42.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.2943, allocations: 102.7 kB / 428.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2943, allocations: 1.844 kB / 428.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2943, allocations: 1.188 kB / 428.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2943, allocations: 0.7031 kB / 428.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2944, allocations: 184.1 kB / 428.9 MB, free: 42.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2944, allocations: 0 / 428.9 MB, free: 42.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2946, allocations: 16.97 kB / 429 MB, free: 42.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2946, allocations: 3.938 kB / 429 MB, free: 42.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2946, allocations: 6.125 kB / 429 MB, free: 42.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2946, allocations: 0 / 429 MB, free: 42.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2946, allocations: 4.641 kB / 429 MB, free: 42.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.2948, allocations: 116.2 kB / 429.1 MB, free: 42.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.2948, allocations: 83.59 kB / 429.2 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2949, allocations: 6.422 kB / 429.2 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.2949, allocations: 0 / 429.2 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2949, allocations: 5.656 kB / 429.2 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.295, allocations: 1.781 kB / 429.2 MB, free: 42.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.295, allocations: 84.86 kB / 429.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.295, allocations: 4 kB / 429.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000208/0.2952, allocations: 13.92 kB / 429.3 MB, free: 42.36 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 (8): * Single equations (assignments): 8 * 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 0.0001418/0.2954, allocations: 113.3 kB / 429.4 MB, free: 42.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.2955, allocations: 57.64 kB / 429.5 MB, free: 42.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2955, allocations: 3.938 kB / 429.5 MB, free: 42.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.2956, allocations: 32.41 kB / 429.5 MB, free: 42.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2957, allocations: 6.969 kB / 429.5 MB, free: 42.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.2961, allocations: 200.3 kB / 429.7 MB, free: 42.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2962, allocations: 0.6862 MB / 430.4 MB, free: 41.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.2963, allocations: 4.781 kB / 430.4 MB, free: 41.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.2963, allocations: 10.58 kB / 430.4 MB, free: 41.36 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2963, allocations: 3.938 kB / 430.4 MB, free: 41.36 MB / 330.7 MB Notification: Performance of Templates: time 0.003244/0.2996, allocations: 0.7624 MB / 431.2 MB, free: 41.26 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)