Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 179.2 kB / 15.43 MB, free: 6.199 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.04338/0.04338, allocations: 8.926 MB / 25.11 MB, free: 3.672 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.312/1.312, allocations: 225.7 MB / 253.7 MB, free: 5.203 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.0007981/0.0007982, allocations: 96.53 kB / 307 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005327, allocations: 12 kB / 370.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3285, allocations: 52.55 MB / 422.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002258/0.3308, allocations: 1.854 MB / 424.7 MB, free: 46.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.3316, allocations: 466.1 kB / 425.1 MB, free: 46.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3317, allocations: 4.156 kB / 425.2 MB, free: 46.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3319, allocations: 22.94 kB / 425.2 MB, free: 46.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.332, allocations: 28.11 kB / 425.2 MB, free: 46.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.3321, allocations: 40.19 kB / 425.2 MB, free: 46.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3323, allocations: 154.8 kB / 425.4 MB, free: 46.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3325, allocations: 63.27 kB / 425.5 MB, free: 46.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.3326, allocations: 46.89 kB / 425.5 MB, free: 46.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3327, allocations: 56.69 kB / 425.6 MB, free: 46.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.3327, allocations: 8.656 kB / 425.6 MB, free: 46.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.3328, allocations: 7.156 kB / 425.6 MB, free: 46.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.3328, allocations: 29.02 kB / 425.6 MB, free: 46.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.3329, allocations: 92.17 kB / 425.7 MB, free: 46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3331, allocations: 156.9 kB / 425.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3331, allocations: 3.375 kB / 425.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3331, allocations: 0 / 425.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.3331, allocations: 0 / 425.8 MB, free: 45.95 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005292/0.3337, allocations: 432.2 kB / 426.3 MB, free: 45.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3337, allocations: 9.5 kB / 426.3 MB, free: 45.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.3338, allocations: 17.66 kB / 426.3 MB, free: 45.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.334, allocations: 215 kB / 426.5 MB, free: 45.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.334, allocations: 9.781 kB / 426.5 MB, free: 45.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.334, allocations: 14.34 kB / 426.5 MB, free: 45.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.3344, allocations: 173.3 kB / 426.7 MB, free: 45.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3344, allocations: 3.938 kB / 426.7 MB, free: 45.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3344, allocations: 11.06 kB / 426.7 MB, free: 45.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3344, allocations: 5.812 kB / 426.7 MB, free: 45.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.3346, allocations: 87.8 kB / 426.8 MB, free: 45.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.3355, allocations: 0.7397 MB / 427.5 MB, free: 44.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3357, allocations: 86.48 kB / 427.6 MB, free: 44.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.3358, allocations: 35.28 kB / 427.7 MB, free: 44.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.3358, allocations: 1.781 kB / 427.7 MB, free: 44.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3358, allocations: 32.41 kB / 427.7 MB, free: 44.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3358, allocations: 0 / 427.7 MB, free: 44.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.000276/0.3361, allocations: 115.1 kB / 427.8 MB, free: 44.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3361, allocations: 56.59 kB / 427.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3363, allocations: 153.2 kB / 428 MB, free: 44.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3363, allocations: 25.7 kB / 428 MB, free: 44.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.3364, allocations: 140.2 kB / 428.2 MB, free: 44.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3364, allocations: 21.56 kB / 428.2 MB, free: 44.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3364, allocations: 8.906 kB / 428.2 MB, free: 44.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.3365, allocations: 320.2 kB / 428.5 MB, free: 43.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.3365, allocations: 28.25 kB / 428.5 MB, free: 43.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.3366, allocations: 58.66 kB / 428.6 MB, free: 43.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3368, allocations: 100.7 kB / 428.7 MB, free: 43.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3368, allocations: 5.312 kB / 428.7 MB, free: 43.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002104/0.337, allocations: 136.4 kB / 428.8 MB, free: 43.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.337, allocations: 7.031 kB / 428.8 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.337, allocations: 1.125 kB / 428.8 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3371, allocations: 3.641 kB / 428.8 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3372, allocations: 24.2 kB / 428.9 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3372, allocations: 2.188 kB / 428.9 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.3373, allocations: 14.77 kB / 428.9 MB, free: 43.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3373, allocations: 12.59 kB / 428.9 MB, free: 43.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.419e-05/0.3374, allocations: 129.9 kB / 429 MB, free: 43.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3374, allocations: 12.59 kB / 429 MB, free: 43.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3375, allocations: 16.67 kB / 429.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3375, allocations: 0.7812 kB / 429.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3375, allocations: 0.75 kB / 429.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3375, allocations: 4.453 kB / 429.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3377, allocations: 225.6 kB / 429.3 MB, free: 43.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3377, allocations: 96 / 429.3 MB, free: 43.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.3378, allocations: 25.28 kB / 429.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3378, allocations: 0.75 kB / 429.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3379, allocations: 1.281 kB / 429.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3379, allocations: 0 / 429.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3379, allocations: 5.953 kB / 429.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3381, allocations: 224.8 kB / 429.5 MB, free: 42.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3382, allocations: 88.47 kB / 429.6 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3382, allocations: 1.156 kB / 429.6 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.3383, allocations: 11.62 kB / 429.6 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3384, allocations: 8.297 kB / 429.6 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.3384, allocations: 2.281 kB / 429.6 MB, free: 42.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.3385, allocations: 115.5 kB / 429.8 MB, free: 42.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3385, allocations: 0 / 429.8 MB, free: 42.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.3387, allocations: 35.62 kB / 429.8 MB, free: 42.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 9.668e-05/0.3388, allocations: 102.7 kB / 429.9 MB, free: 42.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.339, allocations: 71.89 kB / 430 MB, free: 42.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.339, allocations: 3.938 kB / 430 MB, free: 42.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.3391, allocations: 30.64 kB / 430 MB, free: 42.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3394, allocations: 22.78 kB / 430 MB, free: 42.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.3401, allocations: 462.6 kB / 430.5 MB, free: 42.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.3403, allocations: 0.7161 MB / 431.2 MB, free: 41.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.3403, allocations: 9.391 kB / 431.2 MB, free: 41.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.3404, allocations: 11.47 kB / 431.2 MB, free: 41.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3404, allocations: 9.219 kB / 431.2 MB, free: 41.54 MB / 330.7 MB Notification: Performance of Templates: time 0.003408/0.3438, allocations: 0.8956 MB / 432.1 MB, free: 41.45 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)