Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 103.8 kB / 16.92 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.348/2.348, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 47.48 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1438, allocations: 49.45 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.01054/0.1544, allocations: 3.934 MB / 354.1 MB, free: 380 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.1595, allocations: 1.573 MB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.1603, allocations: 11.94 kB / 355.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.1637, allocations: 0.7689 MB / 356.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1662, allocations: 0.5247 MB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.1683, allocations: 0.5404 MB / 357.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.1699, allocations: 0.5331 MB / 358.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.1714, allocations: 0.4962 MB / 358.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006859/0.1722, allocations: 235.1 kB / 358.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.1729, allocations: 294.8 kB / 359.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.1731, allocations: 59.92 kB / 359.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1741, allocations: 239.8 kB / 359.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1743, allocations: 119.6 kB / 359.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.1749, allocations: 270.6 kB / 359.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.1767, allocations: 0.7866 MB / 360.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1768, allocations: 0 / 360.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1768, allocations: 0 / 360.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.535e-05/0.1768, allocations: 0 / 360.5 MB, free: 9.926 MB / 302.1 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.004317/0.1812, allocations: 0.9559 MB / 361.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.1812, allocations: 8.031 kB / 361.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.1816, allocations: 104 kB / 361.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.1873, allocations: 415.8 kB / 362 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1883, allocations: 349.4 kB / 362.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.1884, allocations: 49.44 kB / 362.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.1887, allocations: 63.91 kB / 362.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.191, allocations: 0.6393 MB / 363.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.1911, allocations: 0 / 363.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1912, allocations: 24 kB / 363.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.1912, allocations: 16 kB / 363.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.1935, allocations: 0.579 MB / 363.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.1993, allocations: 2.192 MB / 365.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.202, allocations: 1.181 MB / 367.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2027, allocations: 200.7 kB / 367.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.2029, allocations: 97.03 kB / 367.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2029, allocations: 34.56 kB / 367.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.897e-06/0.203, allocations: 0 / 367.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.0029/0.2059, allocations: 0.6824 MB / 368.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2059, allocations: 55.41 kB / 368.1 MB, free: 1.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.2064, allocations: 274.5 kB / 368.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.2065, allocations: 33.7 kB / 368.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.2068, allocations: 256.5 kB / 368.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.207, allocations: 141.9 kB / 368.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.2073, allocations: 90.16 kB / 368.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2075, allocations: 342.8 kB / 369.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.2081, allocations: 159 kB / 369.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.2089, allocations: 257.9 kB / 369.7 MB, free: 216 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2434/0.4523, allocations: 425.3 kB / 370.1 MB, free: 24.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.4524, allocations: 1.094 kB / 370.1 MB, free: 24.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002209/0.4546, allocations: 0.5215 MB / 370.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.4547, allocations: 6.594 kB / 370.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4547, allocations: 6.938 kB / 370.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.4551, allocations: 52.91 kB / 370.7 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.456, allocations: 105.9 kB / 370.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.4582, allocations: 1.77 MB / 372.5 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.4588, allocations: 61.42 kB / 372.6 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.4589, allocations: 21.34 kB / 372.6 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007531/0.4597, allocations: 271.2 kB / 372.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/0.4603, allocations: 245.7 kB / 373.1 MB, free: 23.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.4615, allocations: 425.2 kB / 373.5 MB, free: 23.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.123e-06/0.4615, allocations: 0 / 373.5 MB, free: 23.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001848/0.4634, allocations: 0.512 MB / 374.1 MB, free: 22.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4634, allocations: 6.312 kB / 374.1 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.4635, allocations: 2.469 kB / 374.1 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.4638, allocations: 60.08 kB / 374.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.4645, allocations: 99.69 kB / 374.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4666, allocations: 1.767 MB / 376 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.4672, allocations: 42.39 kB / 376 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.4672, allocations: 16.91 kB / 376 MB, free: 21.07 MB / 302.1 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.0002396/0.4675, allocations: 210.6 kB / 376.3 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4677, allocations: 30.44 kB / 376.3 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4696, allocations: 0.5093 MB / 376.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.4696, allocations: 4.125 kB / 376.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4697, allocations: 2.312 kB / 376.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4697, allocations: 3.859 kB / 376.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.4726, allocations: 1.086 MB / 377.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4726, allocations: 3.688 kB / 377.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.4733, allocations: 84.14 kB / 378 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.4736, allocations: 54.89 kB / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.4737, allocations: 14.33 kB / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.4756, allocations: 1.751 MB / 379.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4756, allocations: 5.781 kB / 379.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.4779, allocations: 0.7392 MB / 380.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4782, allocations: 159.5 kB / 380.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.4783, allocations: 13.41 kB / 380.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.4788, allocations: 18.88 kB / 380.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.479, allocations: 30.36 kB / 380.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.479, allocations: 15.73 kB / 380.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.4794, allocations: 191.6 kB / 381 MB, free: 17.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4794, allocations: 0 / 381 MB, free: 17.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00174/0.4811, allocations: 243.5 kB / 381.2 MB, free: 17.54 MB / 302.1 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.002793/0.4839, allocations: 1.326 MB / 382.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.487, allocations: 0.909 MB / 383.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.487, allocations: 1.406 kB / 383.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.488, allocations: 340.2 kB / 383.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.4888, allocations: 52.39 kB / 383.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.498, allocations: 3.804 MB / 387.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.4985, allocations: 0.823 MB / 388.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007837/0.4993, allocations: 76.8 kB / 388.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.4997, allocations: 162.9 kB / 388.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4997, allocations: 0 / 388.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05526/0.555, allocations: 8.581 MB / 397.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.05, allocations: 18.58 kB / 397.3 MB, free: 9.758 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches