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.001288/0.001288, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001451/0.001451, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.777 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 43.94 kB / 377.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005436/0.2565, allocations: 3.494 MB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.2585, allocations: 1.028 MB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.2587, allocations: 27.81 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.2591, allocations: 162.8 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008704/0.26, allocations: 318.4 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2603, allocations: 139.8 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.2618, allocations: 1.416 MB / 437.6 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009602/0.2627, allocations: 0.6552 MB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008365/0.2636, allocations: 0.6582 MB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.2646, allocations: 0.8056 MB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.2649, allocations: 156 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.2652, allocations: 164 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004783/0.2657, allocations: 470.7 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.2664, allocations: 0.6107 MB / 441.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.2685, allocations: 2.095 MB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2685, allocations: 3.938 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2685, allocations: 0 / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.2685, allocations: 4 kB / 443.2 MB, free: 10.37 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.003243/0.2717, allocations: 1.654 MB / 444.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2718, allocations: 8.031 kB / 444.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.272, allocations: 177.3 kB / 445.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.2725, allocations: 176 kB / 445.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.2742, allocations: 0.863 MB / 446.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/0.2743, allocations: 90.19 kB / 446.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.2745, allocations: 116 kB / 446.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.2772, allocations: 1.723 MB / 448 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.2772, allocations: 0 / 448 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.2773, allocations: 48 kB / 448.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.2773, allocations: 28 kB / 448.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.2796, allocations: 1.332 MB / 449.4 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006976/0.2866, allocations: 3.879 MB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2876, allocations: 0.6285 MB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.2886, allocations: 0.4983 MB / 454.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2886, allocations: 8.438 kB / 454.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.2886, allocations: 39 kB / 454.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.2886, allocations: 0 / 454.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001623/0.2903, allocations: 0.8733 MB / 455.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2903, allocations: 59.84 kB / 455.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2915, allocations: 0.8476 MB / 456.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.2915, allocations: 33.7 kB / 456.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.292, allocations: 0.5546 MB / 456.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.2922, allocations: 186.4 kB / 457 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.2924, allocations: 106.3 kB / 457.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2926, allocations: 386.8 kB / 457.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.2931, allocations: 301.1 kB / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.2937, allocations: 395.4 kB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2947, allocations: 0.6854 MB / 458.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2947, allocations: 0 / 458.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001304/0.296, allocations: 0.8286 MB / 459.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2961, allocations: 7.984 kB / 459.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2961, allocations: 4 kB / 459.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2961, allocations: 4 kB / 459.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.2967, allocations: 148.1 kB / 459.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.2967, allocations: 11.92 kB / 459.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2971, allocations: 59.61 kB / 460 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.2971, allocations: 24 kB / 460 MB, free: 9.188 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.0006194/0.2977, allocations: 465.4 kB / 460.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2979, allocations: 75.53 kB / 460.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.298, allocations: 95.06 kB / 460.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.298, allocations: 7.984 kB / 460.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.298, allocations: 3.938 kB / 460.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.298, allocations: 4 kB / 460.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.3012, allocations: 1.84 MB / 462.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3012, allocations: 0 / 462.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.3017, allocations: 111.9 kB / 462.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3017, allocations: 4 kB / 462.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3017, allocations: 15.94 kB / 462.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3017, allocations: 4 kB / 462.6 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3017, allocations: 7.938 kB / 462.6 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3034, allocations: 1.13 MB / 463.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.3036, allocations: 95.39 kB / 463.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.3037, allocations: 15.98 kB / 463.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3041, allocations: 47.95 kB / 463.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3042, allocations: 44.25 kB / 463.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3042, allocations: 23.98 kB / 463.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008297/0.3051, allocations: 0.5888 MB / 464.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3051, allocations: 0 / 464.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007625/0.3058, allocations: 291.1 kB / 464.8 MB, free: 4.242 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.002044/0.3079, allocations: 1.682 MB / 466.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.309, allocations: 0.6299 MB / 467.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.309, allocations: 0 / 467.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.3095, allocations: 314.2 kB / 467.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.3103, allocations: 175.8 kB / 467.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3225, allocations: 8.545 MB / 476.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.3234, allocations: 0.7447 MB / 476.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/0.3239, allocations: 213.8 kB / 477.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.3244, allocations: 387.3 kB / 477.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3244, allocations: 0 / 477.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05732/0.3817, allocations: 20.9 MB / 498.4 MB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 10.67 kB / 498.4 MB, free: 2.719 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/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.362909622985171]