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.001453/0.001453, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 66.05 kB / 307.1 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1069, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005482/0.1124, allocations: 3.771 MB / 361.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1146, allocations: 1.083 MB / 362.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.1152, allocations: 23.88 kB / 362.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.1157, allocations: 146.8 kB / 362.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.1167, allocations: 302.4 kB / 362.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1171, allocations: 131.8 kB / 363 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.1185, allocations: 1.416 MB / 364.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1198, allocations: 1.217 MB / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.1207, allocations: 0.6503 MB / 366.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009794/0.1217, allocations: 0.7822 MB / 367.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.1219, allocations: 156 kB / 367.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1222, allocations: 164 kB / 367.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.1226, allocations: 462.8 kB / 367.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.1234, allocations: 0.7466 MB / 368.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1251, allocations: 2.06 MB / 370.7 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1251, allocations: 3.938 kB / 370.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1251, allocations: 0 / 370.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1252, allocations: 0 / 370.7 MB, free: 0.8555 MB / 302.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.1747/0.2999, allocations: 1.693 MB / 372.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2999, allocations: 14.05 kB / 372.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.3001, allocations: 176.4 kB / 372.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.3007, allocations: 169.4 kB / 372.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.302, allocations: 0.8798 MB / 373.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.302, allocations: 85.2 kB / 373.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.3022, allocations: 109.2 kB / 373.8 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.3046, allocations: 1.568 MB / 375.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3046, allocations: 3.938 kB / 375.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.3047, allocations: 49.14 kB / 375.4 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.3048, allocations: 27.5 kB / 375.4 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.3069, allocations: 1.334 MB / 376.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006263/0.3132, allocations: 4.312 MB / 381.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3142, allocations: 1.339 MB / 382.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.3151, allocations: 0.5288 MB / 382.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3151, allocations: 6.094 kB / 383 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3152, allocations: 41.2 kB / 383 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.116e-06/0.3152, allocations: 1.125 kB / 383 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00142/0.3166, allocations: 0.8755 MB / 383.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3166, allocations: 56.28 kB / 383.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3177, allocations: 0.8355 MB / 384.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3178, allocations: 35.83 kB / 384.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.3182, allocations: 0.5517 MB / 385.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3183, allocations: 174.1 kB / 385.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3185, allocations: 102.5 kB / 385.6 MB, free: 13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3186, allocations: 388.8 kB / 386 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.3191, allocations: 303.8 kB / 386.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.3195, allocations: 392.2 kB / 386.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/0.3205, allocations: 0.6895 MB / 387.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3205, allocations: 1.469 kB / 387.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00122/0.3217, allocations: 0.8282 MB / 388.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3217, allocations: 5.656 kB / 388.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3217, allocations: 2.156 kB / 388.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3218, allocations: 5.781 kB / 388.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.3224, allocations: 150.4 kB / 388.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3224, allocations: 5.031 kB / 388.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.3228, allocations: 66.06 kB / 388.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.3229, allocations: 17.59 kB / 388.4 MB, free: 11.5 MB / 302.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.0005633/0.3234, allocations: 474.2 kB / 388.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3236, allocations: 76.94 kB / 389 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.3237, allocations: 89.42 kB / 389.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3237, allocations: 4.781 kB / 389.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.3237, allocations: 1 kB / 389.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3237, allocations: 3.984 kB / 389.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3264, allocations: 1.959 MB / 391 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3264, allocations: 1.375 kB / 391 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.3269, allocations: 117.2 kB / 391.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3269, allocations: 4.312 kB / 391.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.327, allocations: 13.5 kB / 391.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.327, allocations: 2.906 kB / 391.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.327, allocations: 9.312 kB / 391.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3283, allocations: 1.125 MB / 392.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3284, allocations: 165.5 kB / 392.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.3286, allocations: 17.61 kB / 392.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.3289, allocations: 46.3 kB / 392.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.329, allocations: 42.67 kB / 392.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.3291, allocations: 14.91 kB / 392.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.3297, allocations: 0.5986 MB / 393.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3297, allocations: 0 / 393.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006628/0.3304, allocations: 291.9 kB / 393.5 MB, free: 8.473 MB / 302.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.001436/0.3318, allocations: 1.682 MB / 395.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3328, allocations: 0.7926 MB / 395.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3328, allocations: 0 / 395.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.3332, allocations: 327.6 kB / 396.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.3341, allocations: 193.9 kB / 396.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.3431, allocations: 8.882 MB / 405.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/0.3439, allocations: 1.348 MB / 406.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004975/0.3444, allocations: 209.8 kB / 406.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.3449, allocations: 387.3 kB / 407.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3449, allocations: 0 / 407.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3842, allocations: 18.78 MB / 426.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.877, allocations: 17.14 kB / 426.1 MB, free: 9.145 MB / 334.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.0.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