Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 118.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.001414/0.001414, allocations: 198 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.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2807, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005339/0.2861, allocations: 3.792 MB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2884, allocations: 1.067 MB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.289, allocations: 27.88 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.2895, allocations: 154.8 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.2909, allocations: 306.3 kB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.2914, allocations: 135.8 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.2933, allocations: 1.416 MB / 415.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.295, allocations: 1.229 MB / 416.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.2961, allocations: 0.6503 MB / 417.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.2975, allocations: 0.7784 MB / 418.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.298, allocations: 160 kB / 418.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.2986, allocations: 160 kB / 418.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.2991, allocations: 470.7 kB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3006, allocations: 0.7389 MB / 419.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.303, allocations: 2.089 MB / 421.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3031, allocations: 0 / 421.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3031, allocations: 3.938 kB / 421.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.193e-05/0.3032, allocations: 0 / 421.9 MB, free: 4.316 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004152/0.3073, allocations: 1.729 MB / 423.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3074, allocations: 8.031 kB / 423.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003352/0.3077, allocations: 181.2 kB / 423.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.3084, allocations: 180 kB / 424 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.3101, allocations: 0.9091 MB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.3102, allocations: 94.19 kB / 425 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.3104, allocations: 108 kB / 425.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.3132, allocations: 1.572 MB / 426.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.3132, allocations: 4 kB / 426.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3134, allocations: 48 kB / 426.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.3134, allocations: 24 kB / 426.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.316, allocations: 1.332 MB / 428.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007558/0.3236, allocations: 4.284 MB / 432.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3248, allocations: 1.327 MB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008755/0.3257, allocations: 0.5334 MB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3258, allocations: 4.438 kB / 434.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3258, allocations: 42.98 kB / 434.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.526e-06/0.3258, allocations: 0 / 434.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001501/0.3273, allocations: 0.8849 MB / 435.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3274, allocations: 59.84 kB / 435.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3286, allocations: 0.8321 MB / 436 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.3286, allocations: 33.7 kB / 436.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.329, allocations: 0.5584 MB / 436.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3291, allocations: 182.4 kB / 436.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3293, allocations: 106.2 kB / 436.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3295, allocations: 390.8 kB / 437.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.3299, allocations: 300.9 kB / 437.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.3304, allocations: 398.5 kB / 438 MB, free: 3.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.3313, allocations: 0.6864 MB / 438.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3313, allocations: 0 / 438.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001253/0.3326, allocations: 0.8223 MB / 439.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3326, allocations: 8 kB / 439.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3326, allocations: 0 / 439.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3327, allocations: 8 kB / 439.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.3333, allocations: 151.8 kB / 439.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.3333, allocations: 8.219 kB / 439.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.3337, allocations: 67.59 kB / 439.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.3338, allocations: 19.94 kB / 439.7 MB, free: 1.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005712/0.3344, allocations: 461.4 kB / 440.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3345, allocations: 83.47 kB / 440.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3347, allocations: 87.08 kB / 440.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3347, allocations: 4 kB / 440.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3347, allocations: 11.88 kB / 440.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3347, allocations: 3.984 kB / 440.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.3378, allocations: 1.938 MB / 442.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3378, allocations: 4 kB / 442.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.3384, allocations: 119.8 kB / 442.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.3384, allocations: 4 kB / 442.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.3384, allocations: 12 kB / 442.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.3384, allocations: 4 kB / 442.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3384, allocations: 3.938 kB / 442.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.3399, allocations: 1.138 MB / 443.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.3402, allocations: 176.5 kB / 443.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3403, allocations: 15.98 kB / 443.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3408, allocations: 47.95 kB / 443.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.3409, allocations: 40.33 kB / 443.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.3409, allocations: 19.98 kB / 443.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.3417, allocations: 0.5927 MB / 444.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3417, allocations: 0 / 444.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006951/0.3424, allocations: 291.1 kB / 444.8 MB, free: 12.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.3441, allocations: 1.675 MB / 446.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3452, allocations: 0.6575 MB / 447.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3452, allocations: 0 / 447.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.3457, allocations: 326.2 kB / 447.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3467, allocations: 183.8 kB / 447.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.3586, allocations: 8.555 MB / 456.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009998/0.3597, allocations: 1.352 MB / 457.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005243/0.3602, allocations: 213.8 kB / 457.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.3608, allocations: 383.3 kB / 458.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3608, allocations: 0 / 458.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.4067, allocations: 19.18 MB / 477.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.12, allocations: 7.016 kB / 477.3 MB, free: 12.13 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_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_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches