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.00181/0.00181, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002444/0.002444, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 7.816 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2845, allocations: 53.39 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005665/0.2901, allocations: 3.496 MB / 435.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2925, allocations: 1.04 MB / 436.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.2927, allocations: 31.81 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.2931, allocations: 158.8 kB / 436.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009695/0.2941, allocations: 322.3 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.2944, allocations: 131.8 kB / 437.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.296, allocations: 1.428 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.2972, allocations: 0.6552 MB / 439.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.2982, allocations: 0.6659 MB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.2995, allocations: 0.8056 MB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.2998, allocations: 160 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.3001, allocations: 164 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004745/0.3006, allocations: 478.7 kB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.3013, allocations: 0.6068 MB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.3036, allocations: 2.11 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.3037, allocations: 0 / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3037, allocations: 0 / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.3037, allocations: 0 / 444.1 MB, free: 10.16 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.003125/0.3068, allocations: 1.665 MB / 445.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3069, allocations: 12.03 kB / 445.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.234e-05/0.3069, allocations: 26.44 kB / 445.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002313/0.3071, allocations: 181.4 kB / 446 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.3077, allocations: 180 kB / 446.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3091, allocations: 0.8667 MB / 447 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.3092, allocations: 86.19 kB / 447.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.3094, allocations: 112 kB / 447.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.312, allocations: 1.731 MB / 449 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.3121, allocations: 4 kB / 449 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3122, allocations: 48 kB / 449 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.3122, allocations: 46.23 kB / 449.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.3144, allocations: 1.344 MB / 450.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006588/0.321, allocations: 3.895 MB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.322, allocations: 0.6285 MB / 454.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009134/0.3229, allocations: 0.4944 MB / 455.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.3229, allocations: 4.438 kB / 455.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.323, allocations: 43 kB / 455.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.015e-06/0.323, allocations: 3.938 kB / 455.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001529/0.3245, allocations: 0.8732 MB / 456.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3245, allocations: 63.78 kB / 456.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3256, allocations: 0.8283 MB / 457.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.3257, allocations: 33.7 kB / 457.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.3261, allocations: 0.5701 MB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3263, allocations: 194.4 kB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3265, allocations: 102.3 kB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3267, allocations: 382.8 kB / 458.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.3271, allocations: 301.1 kB / 458.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.3277, allocations: 395.4 kB / 459.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3287, allocations: 0.6893 MB / 459.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3287, allocations: 0 / 459.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001282/0.33, allocations: 0.8247 MB / 460.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.33, allocations: 6.5 kB / 460.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.33, allocations: 4 kB / 460.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.33, allocations: 7.938 kB / 460.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.3306, allocations: 151.8 kB / 460.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3307, allocations: 4 kB / 460.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.331, allocations: 67.88 kB / 460.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.3311, allocations: 24 kB / 461 MB, free: 8.871 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.0006331/0.3317, allocations: 461.4 kB / 461.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3318, allocations: 75.53 kB / 461.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.332, allocations: 102.9 kB / 461.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.332, allocations: 4 kB / 461.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.332, allocations: 0 / 461.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.332, allocations: 0 / 461.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.3349, allocations: 1.84 MB / 463.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3349, allocations: 0 / 463.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.3354, allocations: 120 kB / 463.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3354, allocations: 4 kB / 463.5 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3355, allocations: 12 kB / 463.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.3355, allocations: 7.938 kB / 463.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3355, allocations: 7.938 kB / 463.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.3372, allocations: 1.122 MB / 464.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3374, allocations: 99.44 kB / 464.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.3375, allocations: 23.92 kB / 464.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.3379, allocations: 47.89 kB / 464.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.338, allocations: 44.3 kB / 464.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.338, allocations: 16 kB / 464.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007632/0.3388, allocations: 0.5927 MB / 465.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3388, allocations: 0 / 465.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007204/0.3395, allocations: 291.1 kB / 465.8 MB, free: 3.922 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.001865/0.3414, allocations: 1.686 MB / 467.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3424, allocations: 0.6301 MB / 468.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3424, allocations: 0 / 468.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.3429, allocations: 314.2 kB / 468.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.3437, allocations: 182.4 kB / 468.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.3557, allocations: 8.564 MB / 477.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.3565, allocations: 0.7567 MB / 477.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.357, allocations: 209.8 kB / 478.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.3575, allocations: 387.3 kB / 478.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3575, allocations: 0 / 478.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.4066, allocations: 20.48 MB / 499 MB, free: 2.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.51, allocations: 11.36 kB / 499 MB, free: 2.758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.116943867062218]