Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 114 kB / 17.07 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 198.8 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 48.06 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2655, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006122/0.2717, allocations: 3.786 MB / 404 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2739, allocations: 0.9931 MB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.2745, allocations: 23.94 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.2751, allocations: 154.8 kB / 405.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2763, allocations: 298.4 kB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.2767, allocations: 123.8 kB / 405.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2783, allocations: 1.405 MB / 407 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.2796, allocations: 1.221 MB / 408.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.2804, allocations: 0.6386 MB / 408.9 MB, free: 96 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.2813, allocations: 0.7707 MB / 409.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.2815, allocations: 164 kB / 409.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.2817, allocations: 160 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.282, allocations: 470.7 kB / 410.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.2827, allocations: 0.735 MB / 411.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.2845, allocations: 2.074 MB / 413.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2845, allocations: 0 / 413.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2845, allocations: 0 / 413.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.2845, allocations: 0 / 413.2 MB, free: 11.72 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.002822/0.2873, allocations: 1.725 MB / 414.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2874, allocations: 16.02 kB / 414.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.2876, allocations: 173.3 kB / 415.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2878, allocations: 156 kB / 415.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.2892, allocations: 0.8857 MB / 416.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.2893, allocations: 86.19 kB / 416.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.2894, allocations: 108 kB / 416.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.2917, allocations: 1.564 MB / 417.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.2917, allocations: 7.938 kB / 417.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.2918, allocations: 51.98 kB / 418 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.2918, allocations: 32 kB / 418 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.2938, allocations: 1.328 MB / 419.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/0.3, allocations: 4.288 MB / 423.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3011, allocations: 1.334 MB / 424.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.302, allocations: 0.5261 MB / 425.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.302, allocations: 8.438 kB / 425.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.302, allocations: 35 kB / 425.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.545e-06/0.3021, allocations: 4 kB / 425.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001372/0.3034, allocations: 0.8772 MB / 426.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3035, allocations: 59.78 kB / 426.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/0.3044, allocations: 0.8282 MB / 427.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3045, allocations: 37.7 kB / 427.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.3048, allocations: 0.5468 MB / 427.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.305, allocations: 190.4 kB / 428.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.3051, allocations: 106.2 kB / 428.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3053, allocations: 382.8 kB / 428.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.3058, allocations: 304.9 kB / 428.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.3063, allocations: 390.5 kB / 429.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.3072, allocations: 0.6942 MB / 429.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3072, allocations: 0 / 429.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001226/0.3084, allocations: 0.8262 MB / 430.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3085, allocations: 4 kB / 430.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3085, allocations: 4 kB / 430.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3085, allocations: 4 kB / 430.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.3091, allocations: 151.8 kB / 430.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.3091, allocations: 11.92 kB / 430.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.3095, allocations: 71.8 kB / 431 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.3096, allocations: 23.98 kB / 431 MB, free: 9.32 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.0005907/0.3102, allocations: 453.5 kB / 431.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3103, allocations: 79.53 kB / 431.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.3104, allocations: 91.06 kB / 431.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3105, allocations: 4 kB / 431.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.3105, allocations: 11.92 kB / 431.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3105, allocations: 0 / 431.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.3133, allocations: 1.946 MB / 433.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3133, allocations: 0 / 433.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.3137, allocations: 115.9 kB / 433.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3138, allocations: 4 kB / 433.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.3138, allocations: 11.98 kB / 433.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3138, allocations: 7.938 kB / 433.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3138, allocations: 3.938 kB / 433.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3153, allocations: 1.13 MB / 434.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.3155, allocations: 172.5 kB / 435 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3156, allocations: 16 kB / 435 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.316, allocations: 43.95 kB / 435.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.3161, allocations: 48.25 kB / 435.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3162, allocations: 20 kB / 435.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007122/0.3169, allocations: 0.5849 MB / 435.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3169, allocations: 0 / 435.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007103/0.3176, allocations: 295 kB / 436 MB, free: 4.176 MB / 350.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.001719/0.3193, allocations: 1.675 MB / 437.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3204, allocations: 0.6576 MB / 438.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3204, allocations: 0 / 438.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.3209, allocations: 326.2 kB / 438.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.3217, allocations: 179.8 kB / 438.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.3337, allocations: 8.519 MB / 447.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.3349, allocations: 1.34 MB / 448.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.3354, allocations: 209.8 kB / 448.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/0.336, allocations: 387.3 kB / 449.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.336, allocations: 3.938 kB / 449.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.3793, allocations: 19.05 MB / 468.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.037, allocations: 23.64 kB / 468.4 MB, free: 3.793 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches