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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 112.5 kB / 20.43 MB, free: 1.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 208.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 63.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2955, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00565/0.3011, allocations: 3.855 MB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3036, allocations: 1.094 MB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.304, allocations: 27.81 kB / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.3044, allocations: 162.8 kB / 436.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3054, allocations: 314.3 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3057, allocations: 135.8 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.3074, allocations: 1.428 MB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.3083, allocations: 0.6591 MB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.3092, allocations: 0.6659 MB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3104, allocations: 0.8017 MB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.3106, allocations: 160 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.3109, allocations: 160 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.3113, allocations: 482.6 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.3121, allocations: 0.7428 MB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.3143, allocations: 2.095 MB / 443.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3143, allocations: 4 kB / 443.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3143, allocations: 0 / 443.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.3144, allocations: 3.938 kB / 443.9 MB, free: 9.855 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003331/0.3177, allocations: 1.658 MB / 445.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3178, allocations: 12.02 kB / 445.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.318, allocations: 181.3 kB / 445.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.3185, allocations: 176 kB / 446 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.3202, allocations: 0.8669 MB / 446.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.3202, allocations: 86.19 kB / 446.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.3204, allocations: 112 kB / 447 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.3231, allocations: 1.584 MB / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.3231, allocations: 0 / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3232, allocations: 48 kB / 448.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.3233, allocations: 50.19 kB / 448.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.3256, allocations: 1.336 MB / 450 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.3335, allocations: 4.385 MB / 454.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.3345, allocations: 0.6247 MB / 455 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.3354, allocations: 0.5022 MB / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3354, allocations: 8.438 kB / 455.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3354, allocations: 35 kB / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.3355, allocations: 4 kB / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001595/0.337, allocations: 0.8849 MB / 456.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3371, allocations: 55.84 kB / 456.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3383, allocations: 0.8283 MB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.3383, allocations: 37.7 kB / 457.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.3388, allocations: 0.5623 MB / 458 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.339, allocations: 186.4 kB / 458.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.3391, allocations: 106.3 kB / 458.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3393, allocations: 390.8 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.3398, allocations: 297.1 kB / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.3404, allocations: 399.4 kB / 459.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.3414, allocations: 0.6853 MB / 460 MB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3414, allocations: 4 kB / 460 MB, free: 9.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/0.3428, allocations: 0.821 MB / 460.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3429, allocations: 11.98 kB / 460.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3429, allocations: 0 / 460.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.3429, allocations: 11.94 kB / 460.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.3435, allocations: 143.8 kB / 461 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3435, allocations: 7.984 kB / 461 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.3439, allocations: 63.83 kB / 461 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.344, allocations: 19.98 kB / 461.1 MB, free: 8.273 MB / 366.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.0007688/0.3448, allocations: 457.5 kB / 461.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.3449, allocations: 83.52 kB / 461.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3451, allocations: 91.08 kB / 461.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3451, allocations: 11.94 kB / 461.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3451, allocations: 0 / 461.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3451, allocations: 3.984 kB / 461.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.3484, allocations: 1.925 MB / 463.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3484, allocations: 11.94 kB / 463.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.349, allocations: 115.9 kB / 463.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.349, allocations: 4 kB / 463.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.349, allocations: 12 kB / 463.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.349, allocations: 7.938 kB / 463.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.349, allocations: 7.875 kB / 463.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.3507, allocations: 1.134 MB / 464.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.3509, allocations: 95.44 kB / 465 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.351, allocations: 15.98 kB / 465 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.3515, allocations: 47.95 kB / 465.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3516, allocations: 44.3 kB / 465.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3516, allocations: 16 kB / 465.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008156/0.3524, allocations: 0.5966 MB / 465.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3524, allocations: 0 / 465.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.3532, allocations: 287.1 kB / 466 MB, free: 3.227 MB / 366.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.002014/0.3553, allocations: 1.682 MB / 467.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3564, allocations: 0.6337 MB / 468.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3564, allocations: 0 / 468.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.3569, allocations: 310.2 kB / 468.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.3579, allocations: 186.2 kB / 468.8 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.3704, allocations: 8.56 MB / 477.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.3715, allocations: 1.352 MB / 478.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.372, allocations: 209.8 kB / 478.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.3725, allocations: 391.3 kB / 479.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3725, allocations: 0 / 479.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.4313, allocations: 19.83 MB / 499.1 MB, free: 2.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.55, allocations: 7.375 kB / 499.1 MB, free: 2.051 MB / 398.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.184001152003475]