Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00138/0.00138, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2884, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006223/0.2946, allocations: 3.955 MB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.2982, allocations: 1.627 MB / 414.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.2987, allocations: 12 kB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.3011, allocations: 0.7735 MB / 415.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3023, allocations: 378 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.304, allocations: 0.6729 MB / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009825/0.305, allocations: 0.5253 MB / 416.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.306, allocations: 0.4951 MB / 417.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.3065, allocations: 243 kB / 417.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.307, allocations: 298.8 kB / 417.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3071, allocations: 52 kB / 417.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006704/0.3078, allocations: 251.8 kB / 418 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3079, allocations: 119.6 kB / 418.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.3083, allocations: 266.7 kB / 418.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.3097, allocations: 0.8094 MB / 419.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3097, allocations: 0 / 419.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3097, allocations: 4 kB / 419.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.3097, allocations: 0 / 419.2 MB, free: 7.059 MB / 334.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.002708/0.3125, allocations: 0.9665 MB / 420.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3125, allocations: 12.03 kB / 420.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.3128, allocations: 112 kB / 420.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.3158, allocations: 412.2 kB / 420.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.3166, allocations: 364.6 kB / 421 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.3167, allocations: 53.44 kB / 421.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3169, allocations: 60 kB / 421.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3182, allocations: 0.6315 MB / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.3183, allocations: 0 / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.3184, allocations: 28 kB / 421.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3184, allocations: 16 kB / 421.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3197, allocations: 0.579 MB / 422.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.3235, allocations: 2.261 MB / 424.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.3253, allocations: 1.181 MB / 425.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.3257, allocations: 188.8 kB / 426 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.3259, allocations: 174.5 kB / 426.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.326, allocations: 34.56 kB / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 4.589e-06/0.326, allocations: 0 / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001882/0.3279, allocations: 0.6942 MB / 426.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3279, allocations: 59.34 kB / 427 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.3283, allocations: 266.6 kB / 427.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.3284, allocations: 37.7 kB / 427.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.3286, allocations: 256.9 kB / 427.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.3288, allocations: 154.6 kB / 427.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3289, allocations: 86.2 kB / 427.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3291, allocations: 346.8 kB / 428.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.3295, allocations: 155 kB / 428.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.33, allocations: 249.9 kB / 428.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.3309, allocations: 441.7 kB / 428.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3309, allocations: 3.938 kB / 428.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001287/0.3322, allocations: 0.522 MB / 429.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3322, allocations: 4 kB / 429.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3322, allocations: 4 kB / 429.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.3326, allocations: 57.05 kB / 429.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.333, allocations: 103.9 kB / 429.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.3351, allocations: 1.763 MB / 431.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3355, allocations: 59.56 kB / 431.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.3355, allocations: 23.98 kB / 431.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005438/0.3361, allocations: 265.2 kB / 431.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000419/0.3365, allocations: 249.6 kB / 432 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007507/0.3373, allocations: 419.7 kB / 432.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/0.3373, allocations: 0 / 432.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001098/0.3384, allocations: 0.5205 MB / 432.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3384, allocations: 8 kB / 432.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3384, allocations: 4 kB / 432.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.3386, allocations: 53.23 kB / 433 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.339, allocations: 103.8 kB / 433.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.3409, allocations: 1.755 MB / 434.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3412, allocations: 35.78 kB / 434.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.3413, allocations: 23.98 kB / 434.9 MB, free: 6.309 MB / 350.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.0002205/0.3415, allocations: 212.1 kB / 435.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.3416, allocations: 35.75 kB / 435.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.3428, allocations: 0.5006 MB / 435.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3428, allocations: 4 kB / 435.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3428, allocations: 8.062 kB / 435.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3428, allocations: 7.922 kB / 435.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3448, allocations: 1.08 MB / 436.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3448, allocations: 4 kB / 436.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.3452, allocations: 71.89 kB / 436.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.3454, allocations: 56.77 kB / 436.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.3455, allocations: 15.98 kB / 436.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.3474, allocations: 1.759 MB / 438.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3474, allocations: 4.031 kB / 438.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.3489, allocations: 0.7385 MB / 439.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3491, allocations: 156.9 kB / 439.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.3491, allocations: 8.109 kB / 439.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.3494, allocations: 27.98 kB / 439.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.3495, allocations: 24.41 kB / 439.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3496, allocations: 19.98 kB / 439.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3498, allocations: 190 kB / 439.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3498, allocations: 0 / 439.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009676/0.3508, allocations: 243.3 kB / 440 MB, free: 0.9141 MB / 350.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.002069/0.3529, allocations: 1.332 MB / 441.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.3548, allocations: 0.8844 MB / 442.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3549, allocations: 0 / 442.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.3555, allocations: 341 kB / 442.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.356, allocations: 50.7 kB / 442.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.3621, allocations: 3.793 MB / 446.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.3626, allocations: 0.8288 MB / 447.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.363, allocations: 71.23 kB / 447.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.3632, allocations: 167.3 kB / 447.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3632, allocations: 0 / 447.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.4067, allocations: 8.765 MB / 456.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.08, allocations: 3.938 kB / 456.3 MB, free: 0.5781 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches