Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 212.3 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.348/1.348, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.94 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005956/0.2647, allocations: 3.835 MB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.2672, allocations: 1.083 MB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.2676, allocations: 35.75 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.268, allocations: 154.8 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2691, allocations: 318.3 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.2694, allocations: 135.8 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.2709, allocations: 1.416 MB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009636/0.2719, allocations: 0.6552 MB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.273, allocations: 0.662 MB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.2743, allocations: 0.7979 MB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.2746, allocations: 160 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.275, allocations: 160 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.2755, allocations: 482.6 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009676/0.2764, allocations: 0.735 MB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.2787, allocations: 2.087 MB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2787, allocations: 0 / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2787, allocations: 0 / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.2787, allocations: 0 / 444.6 MB, free: 10.1 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003697/0.2824, allocations: 1.65 MB / 446.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2825, allocations: 12.03 kB / 446.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.686e-05/0.2825, allocations: 26.44 kB / 446.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002775/0.2828, allocations: 181.3 kB / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.2834, allocations: 183.9 kB / 446.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.2851, allocations: 0.8666 MB / 447.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.2851, allocations: 82.25 kB / 447.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.2853, allocations: 108 kB / 447.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.2881, allocations: 1.584 MB / 449.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2881, allocations: 0 / 449.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.2882, allocations: 48 kB / 449.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.2882, allocations: 28 kB / 449.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.2904, allocations: 1.328 MB / 450.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007616/0.298, allocations: 4.215 MB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.299, allocations: 0.6208 MB / 455.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/0.3, allocations: 0.5061 MB / 456 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.3, allocations: 8.438 kB / 456 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3001, allocations: 43 kB / 456.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.726e-06/0.3001, allocations: 3.938 kB / 456.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001635/0.3017, allocations: 0.8772 MB / 457 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3018, allocations: 59.78 kB / 457 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3031, allocations: 0.8283 MB / 457.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.3032, allocations: 29.7 kB / 457.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.3037, allocations: 0.5662 MB / 458.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.3039, allocations: 182.4 kB / 458.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.3041, allocations: 106.3 kB / 458.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.3043, allocations: 386.8 kB / 459.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.3048, allocations: 305 kB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.3054, allocations: 395.4 kB / 459.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3065, allocations: 0.6854 MB / 460.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3065, allocations: 0 / 460.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001403/0.3079, allocations: 0.8248 MB / 461.3 MB, free: 8.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3079, allocations: 4 kB / 461.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3079, allocations: 7.938 kB / 461.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3079, allocations: 4 kB / 461.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.3085, allocations: 148.1 kB / 461.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.3086, allocations: 11.88 kB / 461.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.309, allocations: 63.55 kB / 461.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.309, allocations: 23.98 kB / 461.6 MB, free: 8.734 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.0007843/0.3098, allocations: 457.5 kB / 462 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.31, allocations: 79.53 kB / 462.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.3102, allocations: 91.06 kB / 462.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3102, allocations: 12 kB / 462.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3102, allocations: 7.938 kB / 462.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3102, allocations: 0 / 462.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.3135, allocations: 1.921 MB / 464.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3135, allocations: 7.875 kB / 464.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.314, allocations: 119.8 kB / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.314, allocations: 4 kB / 464.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3141, allocations: 12 kB / 464.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3141, allocations: 8.156 kB / 464.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3141, allocations: 4 kB / 464.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.3157, allocations: 1.122 MB / 465.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.316, allocations: 103.4 kB / 465.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.3161, allocations: 19.94 kB / 465.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.3165, allocations: 43.95 kB / 465.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3166, allocations: 48.3 kB / 465.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3166, allocations: 16 kB / 465.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008146/0.3174, allocations: 0.5966 MB / 466.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3174, allocations: 0 / 466.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.3182, allocations: 291.1 kB / 466.5 MB, free: 3.695 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.002032/0.3203, allocations: 1.682 MB / 468.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3214, allocations: 0.6259 MB / 468.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3214, allocations: 0 / 468.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.3219, allocations: 315 kB / 469.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3229, allocations: 182.9 kB / 469.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.3349, allocations: 8.557 MB / 477.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3359, allocations: 1.344 MB / 479.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.3364, allocations: 205.8 kB / 479.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.3369, allocations: 387.3 kB / 479.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3369, allocations: 0 / 479.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0668/0.4037, allocations: 19.84 MB / 499.6 MB, free: 2.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.37, allocations: 15.03 kB / 499.6 MB, free: 2.574 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.76932536601089]