Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 181 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/HanserModelica 1.1.1/package.mo): time 0.03781/0.03781, allocations: 8.926 MB / 25.1 MB, free: 3.684 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.521/1.521, allocations: 225.7 MB / 253.7 MB, free: 5.23 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.0007984/0.0007985, allocations: 94 kB / 307 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8 kB / 370.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3217, allocations: 52.55 MB / 422.8 MB, free: 47.81 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001275/0.3231, allocations: 0.9141 MB / 423.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 5.338e-05/0.3231, allocations: 6.609 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.3232, allocations: 1.25 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3232, allocations: 0.75 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.3232, allocations: 4.641 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.008e-05/0.3233, allocations: 4.047 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.3234, allocations: 6.125 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.3234, allocations: 2.078 kB / 423.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.3235, allocations: 7.516 kB / 423.8 MB, free: 47.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.3235, allocations: 6.016 kB / 423.8 MB, free: 47.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3235, allocations: 4.844 kB / 423.8 MB, free: 47.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.3235, allocations: 0 / 423.8 MB, free: 47.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.3236, allocations: 3.141 kB / 423.8 MB, free: 47.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3236, allocations: 27.58 kB / 423.8 MB, free: 47.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.52e-05/0.3236, allocations: 16.2 kB / 423.8 MB, free: 47.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3237, allocations: 1.156 kB / 423.8 MB, free: 47.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3237, allocations: 0.625 kB / 423.8 MB, free: 47.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.3237, allocations: 3.344 kB / 423.8 MB, free: 47.06 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.0003129/0.324, allocations: 315.3 kB / 424.1 MB, free: 46.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.324, allocations: 9.594 kB / 424.2 MB, free: 46.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.3241, allocations: 1.812 kB / 424.2 MB, free: 46.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.3242, allocations: 171.1 kB / 424.3 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3242, allocations: 1.312 kB / 424.3 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3242, allocations: 1.531 kB / 424.3 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3243, allocations: 44.3 kB / 424.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3243, allocations: 192 / 424.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3243, allocations: 4.844 kB / 424.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3243, allocations: 0 / 424.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.3244, allocations: 7.594 kB / 424.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3248, allocations: 195.6 kB / 424.6 MB, free: 46.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.3248, allocations: 41.94 kB / 424.6 MB, free: 46.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.3249, allocations: 14.12 kB / 424.6 MB, free: 46.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3249, allocations: 4.094 kB / 424.6 MB, free: 46.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3249, allocations: 36.48 kB / 424.7 MB, free: 46.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3249, allocations: 0 / 424.7 MB, free: 46.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.3251, allocations: 46.2 kB / 424.7 MB, free: 46.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3251, allocations: 81.67 kB / 424.8 MB, free: 46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.3251, allocations: 100.5 kB / 424.9 MB, free: 45.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.3252, allocations: 27.05 kB / 424.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.3252, allocations: 80.98 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3252, allocations: 5.25 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3252, allocations: 0 / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.3253, allocations: 322.1 kB / 425.3 MB, free: 45.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.3253, allocations: 4.219 kB / 425.3 MB, free: 45.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.3253, allocations: 17.03 kB / 425.3 MB, free: 45.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.3253, allocations: 19.7 kB / 425.4 MB, free: 45.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3253, allocations: 0 / 425.4 MB, free: 45.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.544e-05/0.3254, allocations: 47.55 kB / 425.4 MB, free: 45.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3254, allocations: 6.578 kB / 425.4 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3254, allocations: 3.938 kB / 425.4 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3255, allocations: 1.375 kB / 425.4 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3256, allocations: 26.62 kB / 425.4 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.3267, allocations: 2.529 MB / 428 MB, free: 42.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.3267, allocations: 9.656 kB / 428 MB, free: 42.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3267, allocations: 1 kB / 428 MB, free: 42.7 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.3268, allocations: 124.6 kB / 428.1 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.3268, allocations: 1.859 kB / 428.1 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021e-05/0.3268, allocations: 8.312 kB / 428.1 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3268, allocations: 0.6094 kB / 428.1 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3268, allocations: 1.312 kB / 428.1 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3268, allocations: 0.9688 kB / 428.1 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.3271, allocations: 183.8 kB / 428.3 MB, free: 42.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3271, allocations: 4 kB / 428.3 MB, free: 42.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3273, allocations: 30.11 kB / 428.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3273, allocations: 0.875 kB / 428.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3273, allocations: 1 kB / 428.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008746/0.3282, allocations: 2.54 MB / 430.9 MB, free: 39.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3282, allocations: 1.031 kB / 430.9 MB, free: 39.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.3283, allocations: 74.2 kB / 430.9 MB, free: 39.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.3283, allocations: 82.92 kB / 431 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.3283, allocations: 1.781 kB / 431 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.3283, allocations: 5.406 kB / 431 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.3284, allocations: 2.328 kB / 431 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3284, allocations: 0.9062 kB / 431 MB, free: 39.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.575e-05/0.3284, allocations: 82.39 kB / 431.1 MB, free: 39.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3284, allocations: 0 / 431.1 MB, free: 39.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.3286, allocations: 3.906 kB / 431.1 MB, free: 39.41 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.139e-05/0.3287, allocations: 102.3 kB / 431.2 MB, free: 39.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3292, allocations: 45.02 kB / 431.3 MB, free: 39.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3292, allocations: 3.938 kB / 431.3 MB, free: 39.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.3295, allocations: 42.52 kB / 431.3 MB, free: 39.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3297, allocations: 10.72 kB / 431.3 MB, free: 39.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.33, allocations: 110.1 kB / 431.4 MB, free: 39.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3301, allocations: 0.6806 MB / 432.1 MB, free: 38.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.3302, allocations: 19.06 kB / 432.1 MB, free: 38.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.3303, allocations: 24.58 kB / 432.1 MB, free: 38.45 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3303, allocations: 0 / 432.1 MB, free: 38.45 MB / 330.7 MB Notification: Performance of Templates: time 0.002851/0.3332, allocations: 0.819 MB / 433 MB, free: 38.36 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)