Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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/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 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 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.178/1.178, allocations: 225.7 MB / 243.2 MB, free: 10.18 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.0007578/0.0007578, allocations: 97.47 kB / 294.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002208/0.0002208, allocations: 11.92 kB / 354.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1844, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003115/0.1876, allocations: 3.378 MB / 408 MB, free: 27.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.19, allocations: 2.239 MB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.1904, allocations: 15.5 kB / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.191, allocations: 171.2 kB / 410.4 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1922, allocations: 0.8501 MB / 411.2 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.1932, allocations: 0.9546 MB / 412.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1937, allocations: 0.5018 MB / 412.7 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.195, allocations: 1.247 MB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.1952, allocations: 191.2 kB / 414.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1954, allocations: 254.8 kB / 414.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1955, allocations: 24 kB / 414.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.1958, allocations: 199.8 kB / 414.6 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1959, allocations: 87.55 kB / 414.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.196, allocations: 256.4 kB / 414.9 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.1966, allocations: 0.7491 MB / 415.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1966, allocations: 0 / 415.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1966, allocations: 0 / 415.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.1966, allocations: 0 / 415.7 MB, free: 19.7 MB / 298.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.001748/0.1984, allocations: 0.8865 MB / 416.6 MB, free: 18.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1984, allocations: 12.03 kB / 416.6 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.2009, allocations: 407.9 kB / 417 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.2013, allocations: 354.4 kB / 417.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.2013, allocations: 45.69 kB / 417.4 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.2014, allocations: 63.94 kB / 417.4 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.2024, allocations: 0.7018 MB / 418.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2024, allocations: 7.938 kB / 418.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.2025, allocations: 24 kB / 418.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2025, allocations: 25.31 kB / 418.2 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2035, allocations: 0.7 MB / 418.9 MB, free: 16.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.2061, allocations: 2.355 MB / 421.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.2071, allocations: 1.191 MB / 422.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.2075, allocations: 244.7 kB / 422.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/0.2076, allocations: 85.11 kB / 422.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.2076, allocations: 38.56 kB / 422.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.2076, allocations: 0 / 422.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001506/0.2091, allocations: 0.819 MB / 423.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2091, allocations: 55.41 kB / 423.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.2093, allocations: 278.5 kB / 423.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2094, allocations: 33.7 kB / 424 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.2095, allocations: 240.4 kB / 424.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.2095, allocations: 157.7 kB / 424.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.2096, allocations: 4 kB / 424.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.2096, allocations: 342.8 kB / 424.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.21, allocations: 197 kB / 424.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.2104, allocations: 310.3 kB / 425.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.211, allocations: 0.4968 MB / 425.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.211, allocations: 3.938 kB / 425.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009306/0.212, allocations: 0.6071 MB / 426.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.2121, allocations: 189.4 kB / 426.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2121, allocations: 3.938 kB / 426.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.2123, allocations: 56.83 kB / 426.5 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.2127, allocations: 115.8 kB / 426.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.2137, allocations: 1.577 MB / 428.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.214, allocations: 59.42 kB / 428.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.2141, allocations: 27.92 kB / 428.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-06/0.2141, allocations: 8.062 kB / 428.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008433/0.2149, allocations: 0.5508 MB / 428.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2149, allocations: 7.969 kB / 428.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.2151, allocations: 48.84 kB / 428.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.2154, allocations: 107.8 kB / 429 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.2163, allocations: 1.519 MB / 430.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2166, allocations: 51.59 kB / 430.6 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2166, allocations: 23.98 kB / 430.6 MB, free: 3.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002309/0.2168, allocations: 249 kB / 430.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2169, allocations: 35.56 kB / 430.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.218, allocations: 0.5942 MB / 431.5 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.218, allocations: 4 kB / 431.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.218, allocations: 4 kB / 431.5 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.218, allocations: 7.922 kB / 431.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2194, allocations: 1.229 MB / 432.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2194, allocations: 0 / 432.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.2198, allocations: 91.88 kB / 432.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.22, allocations: 52.83 kB / 432.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.22, allocations: 15.98 kB / 432.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.221, allocations: 1.584 MB / 434.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.221, allocations: 3.938 kB / 434.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2224, allocations: 0.8975 MB / 435.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2226, allocations: 148.6 kB / 435.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.2226, allocations: 12 kB / 435.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2229, allocations: 23.92 kB / 435.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.223, allocations: 32.39 kB / 435.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.223, allocations: 19.98 kB / 435.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2232, allocations: 194 kB / 435.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2232, allocations: 0 / 435.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007346/0.224, allocations: 243.2 kB / 436 MB, free: 14.12 MB / 314.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.0002101/0.2242, allocations: 147.2 kB / 436.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2259, allocations: 1.016 MB / 437.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2259, allocations: 8.062 kB / 437.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.2265, allocations: 389 kB / 437.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2269, allocations: 36.55 kB / 437.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2284, allocations: 1.172 MB / 438.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2288, allocations: 0.8291 MB / 439.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001276/0.2301, allocations: 1.079 MB / 440.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2302, allocations: 43.42 kB / 440.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2302, allocations: 0 / 440.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of Templates: time 0.00906/0.2393, allocations: 5.06 MB / 445.8 MB, free: 4.254 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches