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.001174/0.001175, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.307, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005728/0.3128, allocations: 3.959 MB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.3163, allocations: 1.624 MB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005834/0.3169, allocations: 8 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.3192, allocations: 0.7774 MB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.3206, allocations: 382 kB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3224, allocations: 0.6767 MB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.3234, allocations: 0.5253 MB / 416.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009743/0.3244, allocations: 0.4912 MB / 417.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.3249, allocations: 243.1 kB / 417.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.3254, allocations: 294.8 kB / 417.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.3255, allocations: 52 kB / 417.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.3263, allocations: 255.8 kB / 418 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3264, allocations: 119.6 kB / 418.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.3268, allocations: 270.6 kB / 418.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3282, allocations: 0.8094 MB / 419.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3282, allocations: 0 / 419.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.3282, allocations: 4 kB / 419.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.3283, allocations: 0 / 419.2 MB, free: 7.066 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.002533/0.3308, allocations: 0.9626 MB / 420.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3309, allocations: 12.03 kB / 420.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/0.3311, allocations: 112 kB / 420.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.334, allocations: 412.2 kB / 420.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.3347, allocations: 365 kB / 421 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.3348, allocations: 49.44 kB / 421.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.335, allocations: 60 kB / 421.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.3364, allocations: 0.6392 MB / 421.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.3364, allocations: 4 kB / 421.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.3365, allocations: 24 kB / 421.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.3365, allocations: 16 kB / 421.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3377, allocations: 0.5712 MB / 422.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.3416, allocations: 2.26 MB / 424.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.3433, allocations: 1.189 MB / 425.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.3437, allocations: 188.7 kB / 426 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.3439, allocations: 174.5 kB / 426.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.344, allocations: 42.56 kB / 426.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.214e-06/0.344, allocations: 0 / 426.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001769/0.3458, allocations: 0.6825 MB / 426.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3458, allocations: 59.34 kB / 427 MB, free: 14.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3462, allocations: 270.6 kB / 427.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3462, allocations: 37.7 kB / 427.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3464, allocations: 256.9 kB / 427.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3466, allocations: 154.6 kB / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3468, allocations: 90.2 kB / 427.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.347, allocations: 338.8 kB / 428.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.3474, allocations: 151 kB / 428.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.3479, allocations: 261.9 kB / 428.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.3487, allocations: 437.7 kB / 428.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3487, allocations: 8 kB / 429 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001141/0.3499, allocations: 0.5145 MB / 429.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3499, allocations: 10.84 kB / 429.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3499, allocations: 4 kB / 429.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.3502, allocations: 60.77 kB / 429.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.3507, allocations: 99.81 kB / 429.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.3526, allocations: 1.755 MB / 431.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.3531, allocations: 67.61 kB / 431.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.3531, allocations: 19.98 kB / 431.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004571/0.3536, allocations: 273.1 kB / 431.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003597/0.354, allocations: 245.6 kB / 432 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006755/0.3547, allocations: 419.7 kB / 432.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.3547, allocations: 4 kB / 432.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001062/0.3557, allocations: 0.5169 MB / 432.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3558, allocations: 4 kB / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3558, allocations: 4 kB / 432.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.356, allocations: 56.95 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.3564, allocations: 99.81 kB / 433.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.3582, allocations: 1.759 MB / 434.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.3586, allocations: 43.83 kB / 434.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.3587, allocations: 16 kB / 434.9 MB, free: 6.316 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.0002178/0.3589, allocations: 208.1 kB / 435.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.359, allocations: 35.75 kB / 435.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.3602, allocations: 0.5006 MB / 435.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3602, allocations: 7.938 kB / 435.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3602, allocations: 7.938 kB / 435.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3602, allocations: 3.938 kB / 435.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.362, allocations: 1.088 MB / 436.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3621, allocations: 0 / 436.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.3625, allocations: 79.89 kB / 436.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.3627, allocations: 52.95 kB / 436.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.3627, allocations: 15.98 kB / 436.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.3643, allocations: 1.755 MB / 438.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3643, allocations: 0 / 438.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3658, allocations: 0.7464 MB / 439.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.366, allocations: 152.7 kB / 439.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.3661, allocations: 12 kB / 439.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3663, allocations: 15.98 kB / 439.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3664, allocations: 36.33 kB / 439.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3665, allocations: 20.05 kB / 439.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3667, allocations: 190 kB / 439.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3667, allocations: 0 / 439.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009878/0.3677, allocations: 243.4 kB / 440 MB, free: 0.918 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.0019/0.3696, allocations: 1.329 MB / 441.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3715, allocations: 0.8836 MB / 442.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3715, allocations: 0 / 442.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.3721, allocations: 346.2 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.0004762/0.3726, allocations: 44.47 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.005833/0.3784, allocations: 3.793 MB / 446.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3789, allocations: 0.8287 MB / 447.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.3793, allocations: 71.23 kB / 447.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.3796, allocations: 167.3 kB / 447.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3796, allocations: 0 / 447.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.4151, allocations: 8.764 MB / 456.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.43, allocations: 14.89 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.0.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