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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 190.8 kB / 24.49 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 43.94 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2742, allocations: 52.19 MB / 423.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005436/0.2796, allocations: 3.459 MB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2817, allocations: 0.9619 MB / 427.8 MB, free: 10 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2819, allocations: 35.81 kB / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.2823, allocations: 158.8 kB / 428 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.2832, allocations: 302.4 kB / 428.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2834, allocations: 123.8 kB / 428.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.2849, allocations: 1.412 MB / 429.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009136/0.2858, allocations: 0.6591 MB / 430.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.2866, allocations: 0.6581 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.2877, allocations: 0.7822 MB / 431.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.2879, allocations: 160 kB / 432 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.2881, allocations: 160 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.2886, allocations: 470.7 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.2893, allocations: 0.6106 MB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2914, allocations: 2.087 MB / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2914, allocations: 4 kB / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2914, allocations: 0 / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.2915, allocations: 4 kB / 435.4 MB, free: 2.34 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.00306/0.2945, allocations: 1.65 MB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2946, allocations: 12.03 kB / 437 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.092e-05/0.2946, allocations: 30.44 kB / 437.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.2948, allocations: 181.2 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.2951, allocations: 148 kB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2965, allocations: 0.8239 MB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.2966, allocations: 82.25 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2967, allocations: 115.9 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.2994, allocations: 1.727 MB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2994, allocations: 0 / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2995, allocations: 48 kB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.2995, allocations: 28 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.3017, allocations: 1.328 MB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.3082, allocations: 3.891 MB / 445.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.3092, allocations: 0.6154 MB / 446 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.3101, allocations: 0.4955 MB / 446.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3101, allocations: 4.438 kB / 446.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3101, allocations: 39 kB / 446.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.3101, allocations: 0 / 446.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001502/0.3116, allocations: 0.8772 MB / 447.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3117, allocations: 63.72 kB / 447.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3128, allocations: 0.8204 MB / 448.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.3128, allocations: 33.7 kB / 448.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.3133, allocations: 0.5584 MB / 448.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3135, allocations: 182.4 kB / 449.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.3137, allocations: 106.3 kB / 449.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.3139, allocations: 386.8 kB / 449.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.3144, allocations: 305 kB / 449.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.3149, allocations: 395.4 kB / 450.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.3159, allocations: 0.6854 MB / 451 MB, free: 2.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.3159, allocations: 0 / 451 MB, free: 2.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001259/0.3172, allocations: 0.8209 MB / 451.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3172, allocations: 11.94 kB / 451.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3172, allocations: 0 / 451.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3172, allocations: 8 kB / 451.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.3178, allocations: 148.1 kB / 451.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3178, allocations: 15.81 kB / 452 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.3182, allocations: 67.59 kB / 452 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.3183, allocations: 20 kB / 452 MB, free: 1.223 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.0006593/0.3189, allocations: 457.4 kB / 452.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.319, allocations: 79.53 kB / 452.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.3192, allocations: 91.06 kB / 452.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3192, allocations: 4 kB / 452.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3192, allocations: 3.938 kB / 452.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3192, allocations: 11.98 kB / 452.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.3221, allocations: 1.828 MB / 454.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3221, allocations: 4.031 kB / 454.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.3227, allocations: 115.9 kB / 454.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3227, allocations: 4 kB / 454.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.3227, allocations: 15.98 kB / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3227, allocations: 4 kB / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3227, allocations: 0 / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3243, allocations: 1.126 MB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3245, allocations: 107.4 kB / 455.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.3245, allocations: 16 kB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3249, allocations: 39.95 kB / 455.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.325, allocations: 48.23 kB / 456 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.3251, allocations: 16 kB / 456 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000753/0.3258, allocations: 0.6044 MB / 456.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3258, allocations: 0 / 456.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.3265, allocations: 283.1 kB / 456.9 MB, free: 12.29 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.001878/0.3284, allocations: 1.674 MB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3294, allocations: 0.6376 MB / 459.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3294, allocations: 0 / 459.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.3299, allocations: 310.2 kB / 459.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3307, allocations: 187.7 kB / 459.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.343, allocations: 8.521 MB / 468.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009321/0.3439, allocations: 0.7329 MB / 468.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006267/0.3445, allocations: 209.8 kB / 469.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.3451, allocations: 387.3 kB / 469.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.784e-06/0.3451, allocations: 0 / 469.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/0.3965, allocations: 20.33 MB / 489.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 3.859 kB / 489.8 MB, free: 11.41 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.522746033035219]