Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005387/0.3144, allocations: 3.784 MB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3166, allocations: 1.009 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.3171, allocations: 23.88 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.3175, allocations: 162.8 kB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3186, allocations: 282.5 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.319, allocations: 135.8 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3207, allocations: 1.401 MB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.3222, allocations: 1.185 MB / 416.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009566/0.3232, allocations: 0.6347 MB / 417.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.3244, allocations: 0.7628 MB / 418.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.3248, allocations: 156 kB / 418.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.3253, allocations: 156 kB / 418.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.3258, allocations: 470.7 kB / 418.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.3271, allocations: 0.7311 MB / 419.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.3294, allocations: 2.047 MB / 421.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3295, allocations: 0 / 421.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3295, allocations: 0 / 421.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.3295, allocations: 0 / 421.7 MB, free: 4.531 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003769/0.3333, allocations: 1.709 MB / 423.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3334, allocations: 12.03 kB / 423.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003622/0.3337, allocations: 173.2 kB / 423.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.3343, allocations: 172 kB / 423.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.3358, allocations: 0.909 MB / 424.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.3359, allocations: 86.16 kB / 424.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3361, allocations: 108 kB / 424.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.3384, allocations: 1.544 MB / 426.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3384, allocations: 0 / 426.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.3386, allocations: 52 kB / 426.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.3386, allocations: 24 kB / 426.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.3406, allocations: 1.316 MB / 427.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005951/0.3465, allocations: 4.183 MB / 431.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3477, allocations: 1.313 MB / 433.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.3484, allocations: 454.5 kB / 433.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.3484, allocations: 8.422 kB / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3485, allocations: 46.98 kB / 433.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.855e-06/0.3485, allocations: 0 / 433.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003207/0.3517, allocations: 1.96 MB / 435.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3517, allocations: 59.84 kB / 435.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3528, allocations: 0.8282 MB / 436.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3529, allocations: 33.7 kB / 436.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.3532, allocations: 0.5584 MB / 437.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3534, allocations: 178.5 kB / 437.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3535, allocations: 110.1 kB / 437.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3537, allocations: 390.8 kB / 437.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.3542, allocations: 296.9 kB / 438.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.3547, allocations: 407.4 kB / 438.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.3557, allocations: 0.7028 MB / 439.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3557, allocations: 4 kB / 439.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001419/0.3571, allocations: 0.9129 MB / 440.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3571, allocations: 8 kB / 440.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3571, allocations: 0 / 440.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.3574, allocations: 117 kB / 440.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.358, allocations: 123.8 kB / 440.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.3603, allocations: 2.372 MB / 442.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3607, allocations: 23.98 kB / 442.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3608, allocations: 20.06 kB / 442.8 MB, free: 14.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006353/0.3614, allocations: 461.5 kB / 443.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3615, allocations: 75.53 kB / 443.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.3617, allocations: 95.08 kB / 443.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3617, allocations: 4 kB / 443.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.3618, allocations: 7.938 kB / 443.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3618, allocations: 3.984 kB / 443.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.365, allocations: 2.013 MB / 445.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3651, allocations: 4 kB / 445.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.3654, allocations: 79.89 kB / 445.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.3657, allocations: 108.9 kB / 445.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.3657, allocations: 19.98 kB / 445.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.368, allocations: 2.326 MB / 448 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.368, allocations: 4.031 kB / 448 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.3698, allocations: 1.201 MB / 449.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3701, allocations: 176.7 kB / 449.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3702, allocations: 15.94 kB / 449.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.3706, allocations: 43.95 kB / 449.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.3708, allocations: 48.25 kB / 449.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.3708, allocations: 16 kB / 449.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008713/0.3717, allocations: 0.5927 MB / 450.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3717, allocations: 0 / 450.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.3726, allocations: 212 kB / 450.3 MB, free: 6.797 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.3746, allocations: 1.764 MB / 452.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.3761, allocations: 0.8201 MB / 452.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3761, allocations: 0.6875 kB / 452.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.3769, allocations: 488.9 kB / 453.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.3779, allocations: 185.3 kB / 453.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.3907, allocations: 8.64 MB / 462.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.3919, allocations: 1.34 MB / 463.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005298/0.3924, allocations: 185.8 kB / 463.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.393, allocations: 383.2 kB / 464.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.393, allocations: 4 kB / 464.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04987/0.4428, allocations: 19.6 MB / 483.7 MB, free: 5.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.11, allocations: 15.88 kB / 483.7 MB, free: 5.34 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_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_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches