Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001317/0.001317, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001582/0.001582, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 47.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2433, allocations: 49.16 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004225/0.2476, allocations: 3.409 MB / 399.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2493, allocations: 1.026 MB / 400.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.2496, allocations: 33.25 kB / 400.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.2499, allocations: 156.1 kB / 401 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008173/0.2507, allocations: 302.8 kB / 401.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.251, allocations: 144.7 kB / 401.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2522, allocations: 1.455 MB / 402.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.2529, allocations: 0.5931 MB / 403.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.2537, allocations: 0.6479 MB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.2548, allocations: 0.7974 MB / 404.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.255, allocations: 158.5 kB / 405 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.2553, allocations: 159.4 kB / 405.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.2557, allocations: 472.1 kB / 405.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.2563, allocations: 0.6022 MB / 406.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.2584, allocations: 2.076 MB / 408.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2584, allocations: 1.25 kB / 408.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2584, allocations: 0 / 408.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.2584, allocations: 0 / 408.3 MB, free: 2.398 MB / 318.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.002797/0.2612, allocations: 1.647 MB / 410 MB, free: 1.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2613, allocations: 12.89 kB / 410 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.2615, allocations: 183 kB / 410.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.2617, allocations: 151.4 kB / 410.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.2631, allocations: 0.7822 MB / 411.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.2632, allocations: 87.09 kB / 411.2 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2634, allocations: 117.4 kB / 411.3 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.2658, allocations: 1.714 MB / 413 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.2658, allocations: 5.141 kB / 413 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2659, allocations: 45.44 kB / 413.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.2659, allocations: 31.91 kB / 413.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.2681, allocations: 1.328 MB / 414.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006787/0.2749, allocations: 3.879 MB / 418.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.2759, allocations: 0.6262 MB / 418.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.2767, allocations: 0.4886 MB / 419.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.2768, allocations: 5.094 kB / 419.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.2768, allocations: 43.11 kB / 419.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.475e-06/0.2768, allocations: 0 / 419.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001532/0.2784, allocations: 0.8715 MB / 420.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2784, allocations: 59.84 kB / 420.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.2796, allocations: 0.8359 MB / 421.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.2796, allocations: 37.7 kB / 421.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.2801, allocations: 0.5545 MB / 421.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.2803, allocations: 186.4 kB / 422 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.2804, allocations: 102.3 kB / 422.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.2806, allocations: 382.8 kB / 422.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.2811, allocations: 313 kB / 422.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.2817, allocations: 391.4 kB / 423.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2827, allocations: 0.6854 MB / 423.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2827, allocations: 0 / 423.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001316/0.2841, allocations: 0.825 MB / 424.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2841, allocations: 11.94 kB / 424.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.2841, allocations: 4 kB / 424.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2841, allocations: 4 kB / 424.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.2847, allocations: 143.8 kB / 424.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.2847, allocations: 11.88 kB / 424.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.2852, allocations: 63.59 kB / 424.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.2852, allocations: 20 kB / 424.9 MB, free: 6.07 MB / 334.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.0006812/0.2859, allocations: 469.4 kB / 425.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.286, allocations: 75.53 kB / 425.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.2862, allocations: 87.08 kB / 425.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2862, allocations: 8 kB / 425.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2862, allocations: 7.938 kB / 425.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2862, allocations: 3.984 kB / 425.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.2893, allocations: 1.828 MB / 427.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2893, allocations: 0 / 427.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.2898, allocations: 115.9 kB / 427.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2898, allocations: 7.938 kB / 427.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2898, allocations: 12 kB / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2898, allocations: 4 kB / 427.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2898, allocations: 8.156 kB / 427.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2914, allocations: 1.13 MB / 428.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.2916, allocations: 99.39 kB / 428.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.2917, allocations: 15.98 kB / 428.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.2921, allocations: 47.95 kB / 428.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2923, allocations: 48.3 kB / 428.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.2923, allocations: 16 kB / 428.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007735/0.2931, allocations: 0.5888 MB / 429.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2931, allocations: 0 / 429.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007468/0.2938, allocations: 295 kB / 429.8 MB, free: 1.113 MB / 334.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.001968/0.2958, allocations: 1.686 MB / 431.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2968, allocations: 0.622 MB / 432.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2968, allocations: 0 / 432.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.2973, allocations: 319.1 kB / 432.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.2982, allocations: 178.9 kB / 432.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.3103, allocations: 8.537 MB / 441.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.3112, allocations: 0.7485 MB / 441.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005335/0.3117, allocations: 201.8 kB / 442.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.3122, allocations: 387.3 kB / 442.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3122, allocations: 0 / 442.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05969/0.3719, allocations: 20.53 MB / 463 MB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 7.859 kB / 463 MB, free: 15.55 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.302597659174353]