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.001308/0.001307, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001127/0.001126, allocations: 187 kB / 18.66 MB, free: 4.398 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.287/1.287, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001331/0.001331, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08877, allocations: 46.63 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004719/0.09353, allocations: 3.723 MB / 378.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.09534, allocations: 1.064 MB / 379.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.09555, allocations: 19.88 kB / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.09589, allocations: 146.8 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.186/0.2819, allocations: 286.5 kB / 379.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.2823, allocations: 139.5 kB / 380 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.2837, allocations: 1.445 MB / 381.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.2851, allocations: 1.156 MB / 382.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.2858, allocations: 0.6353 MB / 383.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009222/0.2867, allocations: 0.765 MB / 384 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.287, allocations: 159.1 kB / 384.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2872, allocations: 159.5 kB / 384.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.2877, allocations: 466.5 kB / 384.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.2885, allocations: 0.745 MB / 385.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.2909, allocations: 2.064 MB / 387.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2909, allocations: 0 / 387.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2909, allocations: 0 / 387.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.291, allocations: 1.094 kB / 387.6 MB, free: 7.41 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.002909/0.2939, allocations: 1.68 MB / 389.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2939, allocations: 9.875 kB / 389.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.2941, allocations: 176.6 kB / 389.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.2944, allocations: 144.6 kB / 389.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.2957, allocations: 0.8262 MB / 390.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.2958, allocations: 88.06 kB / 390.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.296, allocations: 113.3 kB / 390.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.2983, allocations: 1.565 MB / 392.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.2984, allocations: 1.469 kB / 392.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.2985, allocations: 46.02 kB / 392.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.2985, allocations: 27.59 kB / 392.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.3006, allocations: 1.329 MB / 393.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.3067, allocations: 4.272 MB / 397.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/0.3077, allocations: 1.33 MB / 399.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008004/0.3085, allocations: 0.5239 MB / 399.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.3085, allocations: 8.766 kB / 399.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3085, allocations: 38.69 kB / 399.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.625e-06/0.3086, allocations: 0 / 399.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001316/0.3099, allocations: 0.8705 MB / 400.6 MB, free: 488 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3099, allocations: 63.22 kB / 400.7 MB, free: 420 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/0.3109, allocations: 0.8261 MB / 401.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.3109, allocations: 37.11 kB / 401.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.3113, allocations: 0.5381 MB / 402.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3114, allocations: 178 kB / 402.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3116, allocations: 103.9 kB / 402.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3118, allocations: 388.2 kB / 402.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.3122, allocations: 303.3 kB / 403 MB, free: 14.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.3128, allocations: 403.5 kB / 403.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.3137, allocations: 0.6921 MB / 404.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3138, allocations: 0 / 404.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001264/0.315, allocations: 0.8126 MB / 404.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3151, allocations: 5.969 kB / 404.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3151, allocations: 6.812 kB / 404.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3151, allocations: 4.875 kB / 404.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.3157, allocations: 152 kB / 405.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3157, allocations: 9.625 kB / 405.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3161, allocations: 71.12 kB / 405.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.3162, allocations: 21.97 kB / 405.2 MB, free: 13.5 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.0006059/0.3168, allocations: 461.6 kB / 405.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3169, allocations: 80.02 kB / 405.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.3171, allocations: 89.27 kB / 405.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3171, allocations: 5.094 kB / 405.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3171, allocations: 0 / 405.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3172, allocations: 7.922 kB / 405.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.3198, allocations: 1.94 MB / 407.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3198, allocations: 1.5 kB / 407.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.3203, allocations: 116.2 kB / 407.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3203, allocations: 9.312 kB / 407.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.3204, allocations: 12.05 kB / 407.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3204, allocations: 4.312 kB / 407.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3204, allocations: 0 / 407.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.3218, allocations: 1.129 MB / 409 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.322, allocations: 173.9 kB / 409.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.3221, allocations: 9.531 kB / 409.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3225, allocations: 51.27 kB / 409.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.3226, allocations: 42.25 kB / 409.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.3227, allocations: 14.81 kB / 409.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006748/0.3233, allocations: 0.5918 MB / 409.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3233, allocations: 0 / 409.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.3241, allocations: 284.9 kB / 410.2 MB, free: 10.49 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.001688/0.3258, allocations: 1.676 MB / 411.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009363/0.3268, allocations: 0.6536 MB / 412.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3268, allocations: 0 / 412.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3272, allocations: 327.1 kB / 412.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.3281, allocations: 181.3 kB / 413 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3385, allocations: 8.502 MB / 421.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.3393, allocations: 1.344 MB / 422.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.3398, allocations: 197.8 kB / 423.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.3402, allocations: 391.3 kB / 423.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3402, allocations: 0 / 423.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.4028, allocations: 19.05 MB / 442.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.856, allocations: 15.73 kB / 442.5 MB, free: 10.11 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