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.001724/0.001724, 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.002031/0.002031, 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.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 50.54 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005473/0.2787, allocations: 3.785 MB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.281, allocations: 1.016 MB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.2816, allocations: 23.88 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2822, allocations: 154.8 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009417/0.2831, allocations: 286.4 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.2834, allocations: 135.8 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.2847, allocations: 1.401 MB / 415.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2858, allocations: 1.181 MB / 416.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.2865, allocations: 0.6347 MB / 417.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008718/0.2874, allocations: 0.7628 MB / 418.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.2876, allocations: 160 kB / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.2878, allocations: 156 kB / 418.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.2883, allocations: 462.7 kB / 418.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007044/0.289, allocations: 0.7272 MB / 419.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.2908, allocations: 2.058 MB / 421.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2908, allocations: 0 / 421.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2908, allocations: 0 / 421.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.2908, allocations: 0 / 421.7 MB, free: 4.523 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.002691/0.2935, allocations: 1.706 MB / 423.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2936, allocations: 12.03 kB / 423.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.2938, allocations: 169.2 kB / 423.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.2943, allocations: 184 kB / 423.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2957, allocations: 0.9051 MB / 424.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.2958, allocations: 82.16 kB / 424.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.2959, allocations: 108 kB / 424.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.2982, allocations: 1.548 MB / 426.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2982, allocations: 0 / 426.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2983, allocations: 48 kB / 426.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.2983, allocations: 24 kB / 426.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3002, allocations: 1.316 MB / 427.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.3062, allocations: 4.179 MB / 431.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3072, allocations: 1.315 MB / 433.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.3079, allocations: 462.5 kB / 433.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3079, allocations: 4.438 kB / 433.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3079, allocations: 43 kB / 433.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.3079, allocations: 0 / 433.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003043/0.311, allocations: 1.964 MB / 435.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.311, allocations: 55.84 kB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.312, allocations: 0.8321 MB / 436.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.312, allocations: 33.7 kB / 436.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.3124, allocations: 0.5584 MB / 437.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3125, allocations: 182.5 kB / 437.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.3127, allocations: 106.1 kB / 437.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3129, allocations: 386.8 kB / 437.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.3133, allocations: 304.9 kB / 438.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.3138, allocations: 403.4 kB / 438.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.3147, allocations: 0.7067 MB / 439.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3147, allocations: 8 kB / 439.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001305/0.316, allocations: 0.9092 MB / 440.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.316, allocations: 12.06 kB / 440.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.316, allocations: 0 / 440.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.3163, allocations: 112.7 kB / 440.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.3168, allocations: 123.8 kB / 440.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.319, allocations: 2.372 MB / 442.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3194, allocations: 19.98 kB / 442.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.3195, allocations: 20 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.0005758/0.32, allocations: 457.5 kB / 443.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3202, allocations: 75.53 kB / 443.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.3203, allocations: 95.08 kB / 443.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3203, allocations: 4 kB / 443.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3203, allocations: 3.938 kB / 443.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3203, allocations: 12.05 kB / 443.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.3233, allocations: 2.009 MB / 445.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3234, allocations: 4 kB / 445.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3237, allocations: 92.03 kB / 445.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.3239, allocations: 100.7 kB / 445.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.324, allocations: 19.98 kB / 445.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.326, allocations: 2.322 MB / 448 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.326, allocations: 4.031 kB / 448 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.3276, allocations: 1.212 MB / 449.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3278, allocations: 160.7 kB / 449.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.3279, allocations: 19.92 kB / 449.4 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3282, allocations: 47.95 kB / 449.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.3284, allocations: 48.31 kB / 449.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3284, allocations: 16 kB / 449.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.3291, allocations: 0.5888 MB / 450.1 MB, free: 7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3292, allocations: 0 / 450.1 MB, free: 7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007475/0.3299, allocations: 212 kB / 450.3 MB, free: 6.793 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.001876/0.3318, allocations: 1.764 MB / 452.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3331, allocations: 0.8246 MB / 452.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3332, allocations: 0 / 452.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.3339, allocations: 488.9 kB / 453.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/0.3348, allocations: 178.1 kB / 453.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3465, allocations: 8.646 MB / 462.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.3476, allocations: 1.34 MB / 463.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.3481, allocations: 189.8 kB / 463.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.3486, allocations: 383.2 kB / 464.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3486, allocations: 0 / 464.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.397, allocations: 19.6 MB / 483.7 MB, free: 5.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.96, allocations: 12.61 kB / 483.7 MB, free: 5.344 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