Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001291/0.001291, 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.00132/0.00132, allocations: 190.1 kB / 24.49 MB, free: 3.98 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.384/1.384, 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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.269, allocations: 52.19 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005024/0.274, allocations: 3.447 MB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.2758, allocations: 0.9191 MB / 427.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.2761, allocations: 27.81 kB / 427.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.2764, allocations: 154.8 kB / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008317/0.2772, allocations: 302.4 kB / 428.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2775, allocations: 123.8 kB / 428.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.2791, allocations: 1.389 MB / 429.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009484/0.28, allocations: 0.6353 MB / 430.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.2808, allocations: 0.6464 MB / 431 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2818, allocations: 0.7745 MB / 431.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.2821, allocations: 156 kB / 431.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.2823, allocations: 159.9 kB / 432.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.2828, allocations: 462.7 kB / 432.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.2835, allocations: 0.5952 MB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.2854, allocations: 2.051 MB / 435.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2854, allocations: 0 / 435.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2854, allocations: 0 / 435.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.2854, allocations: 0 / 435.2 MB, free: 2.535 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002883/0.2883, allocations: 1.626 MB / 436.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.2883, allocations: 11.97 kB / 436.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.405e-05/0.2884, allocations: 30.41 kB / 436.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.2886, allocations: 177.2 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.2888, allocations: 152 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.2901, allocations: 0.8201 MB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.2902, allocations: 82.22 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.2904, allocations: 119.9 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.2929, allocations: 1.695 MB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.293, allocations: 0 / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.2931, allocations: 44 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.2931, allocations: 28 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.2952, allocations: 1.316 MB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.3013, allocations: 3.79 MB / 445 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.3022, allocations: 0.6091 MB / 445.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.3029, allocations: 430.5 kB / 446.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3029, allocations: 4.438 kB / 446.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.303, allocations: 42.94 kB / 446.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.303, allocations: 0 / 446.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003303/0.3063, allocations: 1.885 MB / 448 MB, free: 5.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3064, allocations: 63.72 kB / 448.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3074, allocations: 0.8203 MB / 448.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.3075, allocations: 41.7 kB / 448.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.3079, allocations: 0.5506 MB / 449.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3081, allocations: 182.4 kB / 449.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3083, allocations: 110.3 kB / 449.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.3085, allocations: 382.8 kB / 450.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.309, allocations: 305.1 kB / 450.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.3095, allocations: 400.2 kB / 450.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3106, allocations: 0.7057 MB / 451.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3106, allocations: 0 / 451.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00146/0.312, allocations: 0.9113 MB / 452.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3121, allocations: 8 kB / 452.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3121, allocations: 4.312 kB / 452.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.3124, allocations: 112.8 kB / 452.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3129, allocations: 123.8 kB / 452.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.3153, allocations: 2.246 MB / 454.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3157, allocations: 23.98 kB / 455 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.3157, allocations: 20 kB / 455 MB, free: 14.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007277/0.3164, allocations: 449.5 kB / 455.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3166, allocations: 79.53 kB / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.3167, allocations: 91.08 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3167, allocations: 4.188 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3167, allocations: 7.938 kB / 455.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3167, allocations: 15.92 kB / 455.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.3198, allocations: 1.887 MB / 457.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3198, allocations: 0 / 457.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.3201, allocations: 87.83 kB / 457.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.3204, allocations: 104.8 kB / 457.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.3204, allocations: 16.14 kB / 457.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.3226, allocations: 2.215 MB / 459.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3227, allocations: 7.969 kB / 459.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3244, allocations: 1.197 MB / 461.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.3246, allocations: 91.53 kB / 461.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.3247, allocations: 12 kB / 461.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.3251, allocations: 47.95 kB / 461.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3252, allocations: 48.36 kB / 461.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3252, allocations: 15.98 kB / 461.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007872/0.326, allocations: 0.5849 MB / 461.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 461.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007742/0.3268, allocations: 212 kB / 462.1 MB, free: 6.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002055/0.3288, allocations: 1.759 MB / 463.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3302, allocations: 0.8008 MB / 464.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3303, allocations: 4.125 kB / 464.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.331, allocations: 481 kB / 465.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.3319, allocations: 179.1 kB / 465.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.3441, allocations: 8.606 MB / 473.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.345, allocations: 0.7447 MB / 474.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.3454, allocations: 189.8 kB / 474.9 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.346, allocations: 375.3 kB / 475.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.346, allocations: 0 / 475.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/0.4018, allocations: 20.77 MB / 496 MB, free: 4.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.54, allocations: 8 kB / 496 MB, free: 4.906 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.976756309974007]