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.001542/0.001542, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3278, allocations: 50.54 MB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005723/0.3336, allocations: 3.8 MB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.336, allocations: 1.075 MB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.3363, allocations: 23.88 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.3367, allocations: 146.8 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.3376, allocations: 302.3 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3379, allocations: 127.8 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3394, allocations: 1.416 MB / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.3409, allocations: 1.225 MB / 416.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.3417, allocations: 0.6425 MB / 417.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3428, allocations: 0.79 MB / 418.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.3431, allocations: 160 kB / 418.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.3434, allocations: 160 kB / 418.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.3439, allocations: 466.7 kB / 419.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.3447, allocations: 0.7467 MB / 419.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.3469, allocations: 2.082 MB / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.347, allocations: 0 / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.347, allocations: 0 / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.576e-05/0.347, allocations: 0 / 421.9 MB, free: 4.312 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.003115/0.3501, allocations: 1.729 MB / 423.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3502, allocations: 12.03 kB / 423.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.3504, allocations: 181.2 kB / 423.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.351, allocations: 180 kB / 424 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3525, allocations: 0.9091 MB / 424.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.3526, allocations: 90.19 kB / 425 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.3528, allocations: 108 kB / 425.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.3554, allocations: 1.572 MB / 426.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3554, allocations: 3.938 kB / 426.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.3555, allocations: 48 kB / 426.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.3556, allocations: 28 kB / 426.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.3579, allocations: 1.328 MB / 428.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006821/0.3647, allocations: 4.284 MB / 432.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3661, allocations: 1.338 MB / 433.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009038/0.367, allocations: 0.5217 MB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3671, allocations: 8.438 kB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.3671, allocations: 39 kB / 434.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.3671, allocations: 0 / 434.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001549/0.3687, allocations: 0.881 MB / 435.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3687, allocations: 55.84 kB / 435.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3699, allocations: 0.8399 MB / 436 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.37, allocations: 37.7 kB / 436.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.3704, allocations: 0.5584 MB / 436.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3706, allocations: 182.4 kB / 436.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.3708, allocations: 106.2 kB / 436.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3711, allocations: 386.8 kB / 437.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.3716, allocations: 300.9 kB / 437.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.3722, allocations: 394.5 kB / 438 MB, free: 3.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3734, allocations: 0.6902 MB / 438.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3734, allocations: 4 kB / 438.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001546/0.3749, allocations: 0.8223 MB / 439.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.375, allocations: 4 kB / 439.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.375, allocations: 7.938 kB / 439.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.375, allocations: 4.281 kB / 439.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.3757, allocations: 155.8 kB / 439.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.3757, allocations: 7.938 kB / 439.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.3761, allocations: 67.59 kB / 439.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.3762, allocations: 16 kB / 439.7 MB, free: 1.844 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.0006891/0.3769, allocations: 465.4 kB / 440.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.377, allocations: 79.53 kB / 440.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.3772, allocations: 91.08 kB / 440.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3772, allocations: 8 kB / 440.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3772, allocations: 3.938 kB / 440.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3772, allocations: 3.984 kB / 440.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.3805, allocations: 1.942 MB / 442.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3805, allocations: 0 / 442.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.381, allocations: 115.9 kB / 442.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3811, allocations: 8.156 kB / 442.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.3811, allocations: 12 kB / 442.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/0.3811, allocations: 7.938 kB / 442.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3811, allocations: 11.94 kB / 442.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3828, allocations: 1.13 MB / 443.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.383, allocations: 168.5 kB / 443.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.3831, allocations: 15.98 kB / 443.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.3835, allocations: 55.89 kB / 443.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3837, allocations: 36.33 kB / 443.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.3837, allocations: 19.98 kB / 443.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007981/0.3845, allocations: 0.5966 MB / 444.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3845, allocations: 0 / 444.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007367/0.3853, allocations: 287.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.001929/0.3872, allocations: 1.685 MB / 446.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3883, allocations: 0.6458 MB / 447.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3884, allocations: 0.5625 kB / 447.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.3888, allocations: 330.3 kB / 447.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.3897, allocations: 189.4 kB / 447.6 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.4023, allocations: 8.547 MB / 456.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.4036, allocations: 1.352 MB / 457.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00055/0.4041, allocations: 213.7 kB / 457.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.4047, allocations: 387.3 kB / 458.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4047, allocations: 0 / 458.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05398/0.4586, allocations: 19.17 MB / 477.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.946, allocations: 7.938 kB / 477.3 MB, free: 12.14 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.1.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