Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000877/0.0008771, allocations: 175.6 kB / 15.43 MB, free: 5.77 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.03908/0.03908, allocations: 8.919 MB / 25.1 MB, free: 3.508 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.316/1.316, allocations: 225.7 MB / 253.7 MB, free: 5.223 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.0007457/0.0007458, allocations: 96.2 kB / 307 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 11.98 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 52.55 MB / 422.8 MB, free: 47.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001605/0.2703, allocations: 1.478 MB / 424.3 MB, free: 46.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.2709, allocations: 436.9 kB / 424.7 MB, free: 46.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.271, allocations: 2.219 kB / 424.7 MB, free: 46.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.2711, allocations: 10.97 kB / 424.7 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.2712, allocations: 30.5 kB / 424.8 MB, free: 46.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.2713, allocations: 19.64 kB / 424.8 MB, free: 46.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2714, allocations: 124.1 kB / 424.9 MB, free: 46.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2716, allocations: 40.14 kB / 425 MB, free: 46.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.2716, allocations: 39.5 kB / 425 MB, free: 46.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.2717, allocations: 45.94 kB / 425 MB, free: 46.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.2717, allocations: 5.594 kB / 425 MB, free: 46.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.2718, allocations: 6.375 kB / 425.1 MB, free: 46.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.2718, allocations: 14.89 kB / 425.1 MB, free: 46.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.2719, allocations: 83.55 kB / 425.1 MB, free: 46.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.272, allocations: 112 kB / 425.3 MB, free: 46.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.272, allocations: 3.609 kB / 425.3 MB, free: 46.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.272, allocations: 0 / 425.3 MB, free: 46.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.272, allocations: 0 / 425.3 MB, free: 46.31 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003856/0.2724, allocations: 395.2 kB / 425.6 MB, free: 45.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2725, allocations: 9.828 kB / 425.7 MB, free: 45.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.2725, allocations: 17.03 kB / 425.7 MB, free: 45.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.2727, allocations: 190.7 kB / 425.9 MB, free: 45.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2727, allocations: 8.5 kB / 425.9 MB, free: 45.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.2727, allocations: 17.52 kB / 425.9 MB, free: 45.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2729, allocations: 104.2 kB / 426 MB, free: 45.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2729, allocations: 1.188 kB / 426 MB, free: 45.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2729, allocations: 3.125 kB / 426 MB, free: 45.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2729, allocations: 2.75 kB / 426 MB, free: 45.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.273, allocations: 58.62 kB / 426 MB, free: 45.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.2737, allocations: 0.4995 MB / 426.5 MB, free: 45.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.2738, allocations: 47.08 kB / 426.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.2738, allocations: 20.86 kB / 426.6 MB, free: 45.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.2738, allocations: 3.938 kB / 426.6 MB, free: 45.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2739, allocations: 41.25 kB / 426.7 MB, free: 45.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2739, allocations: 0 / 426.7 MB, free: 45.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.274, allocations: 66.02 kB / 426.7 MB, free: 45.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.2741, allocations: 53.59 kB / 426.8 MB, free: 44.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.2742, allocations: 141 kB / 426.9 MB, free: 44.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2742, allocations: 25.7 kB / 426.9 MB, free: 44.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.2742, allocations: 119.9 kB / 427.1 MB, free: 44.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.2742, allocations: 14.08 kB / 427.1 MB, free: 44.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.2742, allocations: 1.062 kB / 427.1 MB, free: 44.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.2743, allocations: 327.9 kB / 427.4 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.2743, allocations: 11.8 kB / 427.4 MB, free: 44.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.2744, allocations: 29.55 kB / 427.4 MB, free: 44.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.2744, allocations: 52.28 kB / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2744, allocations: 0 / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.614e-05/0.2745, allocations: 82.52 kB / 427.6 MB, free: 44.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2745, allocations: 6.453 kB / 427.6 MB, free: 44.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2746, allocations: 0 / 427.6 MB, free: 44.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2746, allocations: 1 kB / 427.6 MB, free: 44.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.2747, allocations: 19.06 kB / 427.6 MB, free: 44.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2747, allocations: 5.906 kB / 427.6 MB, free: 44.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.2747, allocations: 9.906 kB / 427.6 MB, free: 44.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2747, allocations: 2.25 kB / 427.6 MB, free: 44.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 5.249e-05/0.2748, allocations: 128.6 kB / 427.7 MB, free: 44.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.2748, allocations: 4.25 kB / 427.7 MB, free: 44.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.2749, allocations: 10.81 kB / 427.7 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2749, allocations: 1.156 kB / 427.7 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2749, allocations: 0 / 427.7 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2749, allocations: 1.656 kB / 427.7 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.275, allocations: 202.9 kB / 427.9 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.275, allocations: 1.281 kB / 427.9 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.2751, allocations: 9.797 kB / 428 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2751, allocations: 0 / 428 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2751, allocations: 1.188 kB / 428 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2751, allocations: 5.812 kB / 428 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2751, allocations: 0 / 428 MB, free: 43.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2753, allocations: 177.6 kB / 428.1 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.2753, allocations: 79.52 kB / 428.2 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2753, allocations: 1.922 kB / 428.2 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.2754, allocations: 8.516 kB / 428.2 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.2754, allocations: 2.125 kB / 428.2 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2754, allocations: 5.406 kB / 428.2 MB, free: 43.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.2755, allocations: 108.7 kB / 428.3 MB, free: 43.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2755, allocations: 3.938 kB / 428.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.2757, allocations: 29.34 kB / 428.4 MB, free: 43.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 6.326e-05/0.2758, allocations: 99.17 kB / 428.5 MB, free: 43.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.2759, allocations: 35.92 kB / 428.5 MB, free: 43.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2759, allocations: 0 / 428.5 MB, free: 43.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.2759, allocations: 12.89 kB / 428.5 MB, free: 43.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.2762, allocations: 13.72 kB / 428.5 MB, free: 43.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.2766, allocations: 356 kB / 428.9 MB, free: 43.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2768, allocations: 0.7049 MB / 429.6 MB, free: 42.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2768, allocations: 7.406 kB / 429.6 MB, free: 42.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.2768, allocations: 10.97 kB / 429.6 MB, free: 42.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2768, allocations: 0 / 429.6 MB, free: 42.46 MB / 330.7 MB Notification: Performance of Templates: time 0.002524/0.2794, allocations: 0.6678 MB / 430.3 MB, free: 42.38 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)