Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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.001229/0.001229, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001279/0.00128, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08379, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005266/0.0891, allocations: 3.735 MB / 378.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.09163, allocations: 1.064 MB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.09222, allocations: 19.88 kB / 379.5 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.09281, allocations: 150.8 kB / 379.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1739/0.2668, allocations: 298.6 kB / 379.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.2674, allocations: 132.1 kB / 380 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.2692, allocations: 1.452 MB / 381.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.2708, allocations: 1.151 MB / 382.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009226/0.2717, allocations: 0.6397 MB / 383.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009351/0.2727, allocations: 0.7667 MB / 384 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.2729, allocations: 159.2 kB / 384.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.2732, allocations: 159.3 kB / 384.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.2736, allocations: 475 kB / 384.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007835/0.2744, allocations: 0.7393 MB / 385.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.2767, allocations: 2.068 MB / 387.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2767, allocations: 0 / 387.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2768, allocations: 0 / 387.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.2768, allocations: 0 / 387.6 MB, free: 7.672 MB / 318.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.00283/0.2796, allocations: 1.717 MB / 389.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2797, allocations: 9.062 kB / 389.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.2799, allocations: 181.9 kB / 389.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.2801, allocations: 147.6 kB / 389.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.2814, allocations: 0.8325 MB / 390.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.2815, allocations: 88.12 kB / 390.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.2817, allocations: 116.1 kB / 390.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.284, allocations: 1.559 MB / 392.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.2841, allocations: 0 / 392.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2842, allocations: 47.31 kB / 392.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.2842, allocations: 30.78 kB / 392.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2863, allocations: 1.329 MB / 393.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006237/0.2925, allocations: 4.281 MB / 397.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.2935, allocations: 1.338 MB / 399.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.2943, allocations: 0.5217 MB / 399.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.2943, allocations: 5.875 kB / 399.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2944, allocations: 38.56 kB / 399.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.2944, allocations: 0 / 399.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001364/0.2957, allocations: 0.8793 MB / 400.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2958, allocations: 61.09 kB / 400.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.2968, allocations: 0.8195 MB / 401.6 MB, free: 116 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.2968, allocations: 36.83 kB / 401.6 MB, free: 76 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.2973, allocations: 0.5509 MB / 402.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.2974, allocations: 187.4 kB / 402.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.2976, allocations: 107.4 kB / 402.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2978, allocations: 391.2 kB / 402.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.2983, allocations: 305 kB / 403.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.2988, allocations: 395.3 kB / 403.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.2997, allocations: 0.6873 MB / 404.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2997, allocations: 0.8125 kB / 404.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001256/0.301, allocations: 0.8241 MB / 405.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.301, allocations: 10.22 kB / 405.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3011, allocations: 6.094 kB / 405.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3011, allocations: 5.531 kB / 405.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.3017, allocations: 152.6 kB / 405.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3017, allocations: 3.938 kB / 405.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.3021, allocations: 71.78 kB / 405.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3022, allocations: 22.06 kB / 405.3 MB, free: 13.64 MB / 334.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.0005878/0.3028, allocations: 470.1 kB / 405.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3029, allocations: 75.88 kB / 405.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.3031, allocations: 89.61 kB / 405.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3031, allocations: 4.594 kB / 405.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.3031, allocations: 3.984 kB / 405.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3031, allocations: 5 kB / 406 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.306, allocations: 1.937 MB / 407.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.306, allocations: 1.656 kB / 407.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.3065, allocations: 121.5 kB / 408 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3065, allocations: 3.312 kB / 408 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3066, allocations: 13.06 kB / 408 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3066, allocations: 2.219 kB / 408 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3066, allocations: 2.906 kB / 408 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3081, allocations: 1.128 MB / 409.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.3083, allocations: 174.4 kB / 409.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.3084, allocations: 16.61 kB / 409.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.3088, allocations: 51.67 kB / 409.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.3089, allocations: 42.48 kB / 409.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.309, allocations: 14.27 kB / 409.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007458/0.3097, allocations: 0.5961 MB / 410 MB, free: 10.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3097, allocations: 0 / 410 MB, free: 10.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007658/0.3105, allocations: 288 kB / 410.3 MB, free: 10.61 MB / 334.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.001757/0.3123, allocations: 1.691 MB / 412 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009691/0.3133, allocations: 0.6419 MB / 412.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3133, allocations: 0.5625 kB / 412.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.3137, allocations: 330.2 kB / 413 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.3146, allocations: 177.9 kB / 413.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.3263, allocations: 8.536 MB / 421.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3273, allocations: 1.336 MB / 423 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004968/0.3278, allocations: 205.8 kB / 423.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.3284, allocations: 387.3 kB / 423.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3284, allocations: 0 / 423.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.3737, allocations: 19.04 MB / 442.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/9.047, allocations: 3.859 kB / 442.7 MB, free: 10.17 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches