Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.000961, allocations: 178.7 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.03991/0.03991, allocations: 8.922 MB / 25.1 MB, free: 3.578 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.354/1.354, allocations: 225.7 MB / 253.7 MB, free: 5.219 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.000827/0.0008268, allocations: 93.86 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 8 kB / 370.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 52.55 MB / 422.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003456/0.2369, allocations: 3.408 MB / 426.2 MB, free: 45.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.2394, allocations: 2.254 MB / 428.5 MB, free: 43.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.2396, allocations: 11 kB / 428.5 MB, free: 43.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.2401, allocations: 175 kB / 428.7 MB, free: 43.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2413, allocations: 0.8412 MB / 429.5 MB, free: 42.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009033/0.2422, allocations: 0.8189 MB / 430.3 MB, free: 41.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.2427, allocations: 0.5137 MB / 430.8 MB, free: 41.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.244, allocations: 1.244 MB / 432.1 MB, free: 40.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.2443, allocations: 189.5 kB / 432.3 MB, free: 40.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.2446, allocations: 260.4 kB / 432.5 MB, free: 40.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.2447, allocations: 27.06 kB / 432.6 MB, free: 40.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.2451, allocations: 174.1 kB / 432.7 MB, free: 40.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.2452, allocations: 92.55 kB / 432.8 MB, free: 40.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2454, allocations: 250.5 kB / 433.1 MB, free: 40.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.2462, allocations: 0.7633 MB / 433.8 MB, free: 39.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2462, allocations: 0 / 433.8 MB, free: 39.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2462, allocations: 1.438 kB / 433.8 MB, free: 39.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2463, allocations: 0 / 433.8 MB, free: 39.85 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001803/0.2481, allocations: 0.852 MB / 434.7 MB, free: 39.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2481, allocations: 13.56 kB / 434.7 MB, free: 39.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.2507, allocations: 408.8 kB / 435.1 MB, free: 39.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.2512, allocations: 361.4 kB / 435.4 MB, free: 38.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.2512, allocations: 46.19 kB / 435.5 MB, free: 38.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.2513, allocations: 61.8 kB / 435.6 MB, free: 38.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.2525, allocations: 0.6336 MB / 436.2 MB, free: 38.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.2526, allocations: 1.188 kB / 436.2 MB, free: 38.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.2526, allocations: 25.38 kB / 436.2 MB, free: 38.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.2527, allocations: 26.09 kB / 436.2 MB, free: 38.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2538, allocations: 0.5838 MB / 436.8 MB, free: 38.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.2567, allocations: 2.188 MB / 439 MB, free: 36.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.258, allocations: 1.187 MB / 440.2 MB, free: 35.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.2583, allocations: 205.2 kB / 440.4 MB, free: 35.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/0.2584, allocations: 89.56 kB / 440.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2584, allocations: 36.84 kB / 440.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.2584, allocations: 1.125 kB / 440.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001504/0.2599, allocations: 0.6988 MB / 441.2 MB, free: 35.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.26, allocations: 59.47 kB / 441.3 MB, free: 35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.2603, allocations: 276.6 kB / 441.5 MB, free: 34.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2603, allocations: 31.7 kB / 441.6 MB, free: 34.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.2604, allocations: 244.6 kB / 441.8 MB, free: 34.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.2605, allocations: 155.4 kB / 442 MB, free: 34.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.2605, allocations: 6.312 kB / 442 MB, free: 34.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.2606, allocations: 341.7 kB / 442.3 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.2609, allocations: 154 kB / 442.5 MB, free: 33.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.2613, allocations: 259.6 kB / 442.7 MB, free: 33.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.262, allocations: 444.3 kB / 443.1 MB, free: 33.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.262, allocations: 0 / 443.1 MB, free: 33.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009733/0.263, allocations: 0.5298 MB / 443.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.2631, allocations: 181.8 kB / 443.9 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2631, allocations: 7.125 kB / 443.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.2634, allocations: 54.95 kB / 443.9 MB, free: 32.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.2638, allocations: 105.7 kB / 444 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.265, allocations: 1.589 MB / 445.6 MB, free: 31.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2653, allocations: 59.33 kB / 445.7 MB, free: 31.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.2654, allocations: 22.88 kB / 445.7 MB, free: 31.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.2654, allocations: 4.281 kB / 445.7 MB, free: 31.33 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008762/0.2663, allocations: 482.4 kB / 446.2 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2663, allocations: 3.375 kB / 446.2 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.2664, allocations: 51.83 kB / 446.2 MB, free: 31.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2668, allocations: 97.61 kB / 446.3 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000931/0.2678, allocations: 1.513 MB / 447.8 MB, free: 29.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.268, allocations: 49.12 kB / 447.9 MB, free: 29.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.2681, allocations: 31.17 kB / 447.9 MB, free: 29.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.2683, allocations: 247 kB / 448.1 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.2684, allocations: 35.56 kB / 448.2 MB, free: 29.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009228/0.2693, allocations: 0.5083 MB / 448.7 MB, free: 28.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2693, allocations: 7.938 kB / 448.7 MB, free: 28.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2693, allocations: 4 kB / 448.7 MB, free: 28.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2693, allocations: 7.922 kB / 448.7 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.2707, allocations: 1.084 MB / 449.8 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2707, allocations: 0 / 449.8 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.271, allocations: 79.89 kB / 449.9 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.2712, allocations: 60.77 kB / 449.9 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2712, allocations: 4 kB / 449.9 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.2723, allocations: 1.596 MB / 451.5 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2723, allocations: 7.875 kB / 451.5 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2735, allocations: 0.753 MB / 452.3 MB, free: 24.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2736, allocations: 152.6 kB / 452.4 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.2737, allocations: 4 kB / 452.4 MB, free: 24.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2739, allocations: 31.98 kB / 452.5 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.274, allocations: 32.39 kB / 452.5 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.274, allocations: 15.98 kB / 452.5 MB, free: 24.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2742, allocations: 190 kB / 452.7 MB, free: 24.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2742, allocations: 0 / 452.7 MB, free: 24.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.2749, allocations: 239.1 kB / 452.9 MB, free: 24.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.2751, allocations: 135.2 kB / 453.1 MB, free: 24.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.2765, allocations: 0.9066 MB / 454 MB, free: 23.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2765, allocations: 0 / 454 MB, free: 23.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2769, allocations: 345.8 kB / 454.3 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2773, allocations: 42.98 kB / 454.4 MB, free: 22.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2785, allocations: 1.127 MB / 455.5 MB, free: 21.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2787, allocations: 0.8213 MB / 456.3 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.2791, allocations: 79.23 kB / 456.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.2792, allocations: 39.42 kB / 456.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2792, allocations: 0 / 456.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of Templates: time 0.007574/0.2868, allocations: 4.557 MB / 461 MB, free: 16.12 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & ./HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)