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.00179/0.00179, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.002052/0.002052, allocations: 191.9 kB / 18 MB, free: 5.098 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.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2901, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00564/0.2958, allocations: 3.772 MB / 404 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.2981, allocations: 1.001 MB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.2985, allocations: 19.94 kB / 405 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2989, allocations: 150.8 kB / 405.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009591/0.2999, allocations: 290.4 kB / 405.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3002, allocations: 127.7 kB / 405.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.3022, allocations: 1.405 MB / 407 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3041, allocations: 1.213 MB / 408.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3052, allocations: 0.6464 MB / 408.8 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3064, allocations: 0.7629 MB / 409.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.3066, allocations: 164 kB / 409.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.3069, allocations: 160 kB / 409.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004899/0.3074, allocations: 474.7 kB / 410.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009612/0.3084, allocations: 0.735 MB / 411.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.3106, allocations: 2.07 MB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3106, allocations: 3.938 kB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3106, allocations: 0 / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.3106, allocations: 0 / 413.2 MB, free: 11.79 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.003285/0.3139, allocations: 1.725 MB / 414.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.314, allocations: 12.03 kB / 414.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.3142, allocations: 177.3 kB / 415.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.3145, allocations: 156 kB / 415.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3159, allocations: 0.8818 MB / 416.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.316, allocations: 86.19 kB / 416.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.3162, allocations: 108 kB / 416.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.3188, allocations: 1.572 MB / 417.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.3189, allocations: 4 kB / 417.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.319, allocations: 48 kB / 418 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.319, allocations: 28 kB / 418 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.3213, allocations: 1.328 MB / 419.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007005/0.3283, allocations: 4.292 MB / 423.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3298, allocations: 1.338 MB / 424.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.3308, allocations: 0.53 MB / 425.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.3309, allocations: 8.438 kB / 425.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3309, allocations: 39 kB / 425.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.324e-06/0.3309, allocations: 0 / 425.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001598/0.3325, allocations: 0.8733 MB / 426.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3326, allocations: 63.78 kB / 426.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3337, allocations: 0.8204 MB / 427.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.3338, allocations: 37.7 kB / 427.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.3343, allocations: 0.5468 MB / 427.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.3344, allocations: 190.4 kB / 428 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3346, allocations: 110.2 kB / 428.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3348, allocations: 382.8 kB / 428.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.3354, allocations: 300.9 kB / 428.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.3359, allocations: 398.5 kB / 429.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.337, allocations: 0.6902 MB / 429.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.337, allocations: 0 / 429.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001383/0.3384, allocations: 0.8341 MB / 430.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3385, allocations: 4 kB / 430.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3385, allocations: 4 kB / 430.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3385, allocations: 4 kB / 430.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.3391, allocations: 147.8 kB / 430.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.3392, allocations: 7.938 kB / 430.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3396, allocations: 71.72 kB / 431 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3396, allocations: 20 kB / 431 MB, free: 9.395 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.0007001/0.3403, allocations: 457.4 kB / 431.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3405, allocations: 79.53 kB / 431.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.3406, allocations: 87.08 kB / 431.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3407, allocations: 8 kB / 431.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3407, allocations: 7.938 kB / 431.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3407, allocations: 3.984 kB / 431.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.3439, allocations: 1.942 MB / 433.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3439, allocations: 4 kB / 433.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3444, allocations: 115.9 kB / 433.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.3445, allocations: 4 kB / 433.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3445, allocations: 12 kB / 433.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.3445, allocations: 4 kB / 433.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3445, allocations: 3.938 kB / 433.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.3462, allocations: 1.13 MB / 434.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3464, allocations: 168.5 kB / 435 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3466, allocations: 19.98 kB / 435 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.347, allocations: 47.95 kB / 435.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3471, allocations: 40.27 kB / 435.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.3471, allocations: 20 kB / 435.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008159/0.3479, allocations: 0.5888 MB / 435.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.348, allocations: 0 / 435.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007645/0.3487, allocations: 295 kB / 436 MB, free: 4.25 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.001998/0.3507, allocations: 1.675 MB / 437.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3519, allocations: 0.6537 MB / 438.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3519, allocations: 0 / 438.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.3525, allocations: 326.2 kB / 438.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.3534, allocations: 187.7 kB / 438.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.3659, allocations: 8.508 MB / 447.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.3671, allocations: 1.34 MB / 448.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005343/0.3676, allocations: 209.8 kB / 448.9 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/0.3682, allocations: 387.3 kB / 449.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3682, allocations: 0 / 449.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/0.423, allocations: 19.06 MB / 468.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.469, allocations: 23.7 kB / 468.3 MB, free: 3.871 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