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.001844/0.001844, allocations: 112 kB / 20.43 MB, free: 1.457 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.002206/0.002206, allocations: 184.6 kB / 23.72 MB, free: 4.699 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.442/1.442, allocations: 225.6 MB / 252.5 MB, free: 13.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2777, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005468/0.2832, allocations: 3.812 MB / 426.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2855, allocations: 1.009 MB / 427.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.2857, allocations: 31.81 kB / 427.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.2861, allocations: 158.8 kB / 427.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008903/0.287, allocations: 306.4 kB / 427.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.2872, allocations: 123.8 kB / 428.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.2887, allocations: 1.416 MB / 429.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.2896, allocations: 0.6513 MB / 430.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.2903, allocations: 0.6581 MB / 430.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2915, allocations: 0.7862 MB / 431.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.2917, allocations: 160 kB / 431.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.292, allocations: 163.9 kB / 431.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.2925, allocations: 466.7 kB / 432.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008228/0.2933, allocations: 0.7428 MB / 433.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.2953, allocations: 2.071 MB / 435.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2953, allocations: 4 kB / 435.2 MB, free: 2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2953, allocations: 0 / 435.2 MB, free: 2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.2953, allocations: 0 / 435.2 MB, free: 2 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.003011/0.2983, allocations: 1.65 MB / 436.8 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2984, allocations: 12.03 kB / 436.8 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.2986, allocations: 173.3 kB / 437 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.2988, allocations: 150.3 kB / 437.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3004, allocations: 0.8335 MB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.3004, allocations: 86.25 kB / 438.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.3006, allocations: 112 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.303, allocations: 1.568 MB / 439.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.303, allocations: 0 / 439.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3031, allocations: 55.88 kB / 439.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.3032, allocations: 27.94 kB / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.3054, allocations: 1.34 MB / 441.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.312, allocations: 4.215 MB / 445.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.3129, allocations: 0.6154 MB / 446 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008941/0.3138, allocations: 0.4956 MB / 446.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.3139, allocations: 8.422 kB / 446.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3139, allocations: 39 kB / 446.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.004e-06/0.3139, allocations: 0 / 446.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001478/0.3154, allocations: 0.8732 MB / 447.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3154, allocations: 63.84 kB / 447.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3165, allocations: 0.8165 MB / 448.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.3166, allocations: 37.7 kB / 448.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.317, allocations: 0.5623 MB / 448.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.3171, allocations: 190.4 kB / 449.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.3173, allocations: 102.3 kB / 449.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3175, allocations: 382.8 kB / 449.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.318, allocations: 309.1 kB / 449.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.3185, allocations: 391.4 kB / 450.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3195, allocations: 0.6892 MB / 450.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3195, allocations: 3.938 kB / 450.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001297/0.3208, allocations: 0.8248 MB / 451.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3209, allocations: 4.281 kB / 451.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3209, allocations: 8 kB / 451.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3209, allocations: 4 kB / 451.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.3215, allocations: 147.8 kB / 451.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3215, allocations: 4 kB / 451.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3218, allocations: 63.59 kB / 452 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3219, allocations: 20 kB / 452 MB, free: 0.7656 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.0006018/0.3225, allocations: 469.4 kB / 452.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3226, allocations: 75.53 kB / 452.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.3228, allocations: 91.08 kB / 452.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3228, allocations: 8 kB / 452.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3228, allocations: 3.938 kB / 452.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3228, allocations: 3.984 kB / 452.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.3259, allocations: 1.921 MB / 454.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3259, allocations: 4 kB / 454.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.3265, allocations: 120 kB / 454.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3265, allocations: 4 kB / 454.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.3265, allocations: 15.94 kB / 454.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3265, allocations: 7.984 kB / 454.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3265, allocations: 7.938 kB / 454.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3281, allocations: 1.126 MB / 455.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3283, allocations: 103.4 kB / 455.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.3284, allocations: 8 kB / 455.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3288, allocations: 51.95 kB / 456 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.3288, allocations: 40.36 kB / 456 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3289, allocations: 16 kB / 456 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.3296, allocations: 0.5888 MB / 456.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 456.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006997/0.3303, allocations: 287.1 kB / 456.9 MB, free: 11.73 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.001951/0.3323, allocations: 1.686 MB / 458.6 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3334, allocations: 0.6341 MB / 459.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3334, allocations: 4.188 kB / 459.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.3338, allocations: 310.2 kB / 459.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.3347, allocations: 179.2 kB / 459.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.3465, allocations: 8.517 MB / 468.2 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3475, allocations: 1.34 MB / 469.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005245/0.3481, allocations: 209.8 kB / 469.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.3486, allocations: 391.3 kB / 470.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3486, allocations: 0 / 470.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/0.4034, allocations: 19.67 MB / 489.8 MB, free: 10.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.47, allocations: 13.34 kB / 489.8 MB, free: 10.79 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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.928751604998979]