Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001837/0.001837, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002265/0.002265, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 55.91 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005514/0.2616, allocations: 3.473 MB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2639, allocations: 0.9854 MB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.2641, allocations: 27.81 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2645, allocations: 154.8 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.2653, allocations: 286.4 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.2656, allocations: 139.8 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.2672, allocations: 1.409 MB / 437.5 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.2681, allocations: 0.6135 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008223/0.2689, allocations: 0.6503 MB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.27, allocations: 0.7901 MB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.2702, allocations: 156 kB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2705, allocations: 156 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.2709, allocations: 466.7 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.2716, allocations: 0.6029 MB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.2737, allocations: 2.063 MB / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2737, allocations: 0 / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2737, allocations: 0 / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.2737, allocations: 4 kB / 443 MB, free: 10.6 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003432/0.2772, allocations: 1.63 MB / 444.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2772, allocations: 12.03 kB / 444.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.2774, allocations: 169.2 kB / 444.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.278, allocations: 180 kB / 445 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.2798, allocations: 0.8434 MB / 445.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.2798, allocations: 86.16 kB / 445.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.28, allocations: 108 kB / 446 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.2827, allocations: 1.695 MB / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.2827, allocations: 7.938 kB / 447.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2828, allocations: 44 kB / 447.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.2829, allocations: 35.98 kB / 447.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.2851, allocations: 1.305 MB / 449.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.2918, allocations: 3.793 MB / 452.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2929, allocations: 0.6045 MB / 453.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.2936, allocations: 438.5 kB / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2936, allocations: 4.438 kB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2936, allocations: 42.94 kB / 454 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.2937, allocations: 0 / 454 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003577/0.2972, allocations: 1.881 MB / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2973, allocations: 59.84 kB / 455.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.2985, allocations: 0.8359 MB / 456.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.2985, allocations: 41.64 kB / 456.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.2989, allocations: 0.5506 MB / 457.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2991, allocations: 190.4 kB / 457.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.2993, allocations: 102.3 kB / 457.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.2995, allocations: 386.8 kB / 458 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.3, allocations: 309.1 kB / 458.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.3006, allocations: 404.2 kB / 458.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3017, allocations: 0.7019 MB / 459.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3017, allocations: 0 / 459.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001583/0.3033, allocations: 0.9154 MB / 460.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3033, allocations: 8 kB / 460.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3033, allocations: 4 kB / 460.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.3036, allocations: 108.8 kB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.3041, allocations: 123.9 kB / 460.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.3067, allocations: 2.238 MB / 462.8 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.3072, allocations: 27.97 kB / 462.8 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.3072, allocations: 20 kB / 462.9 MB, free: 6.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007387/0.308, allocations: 461.7 kB / 463.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3081, allocations: 75.53 kB / 463.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.3083, allocations: 103 kB / 463.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3083, allocations: 4 kB / 463.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.3083, allocations: 8 kB / 463.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3083, allocations: 0 / 463.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.3119, allocations: 1.895 MB / 465.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3119, allocations: 160 / 465.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.3122, allocations: 95.88 kB / 465.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.3125, allocations: 100.8 kB / 465.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.3125, allocations: 12 kB / 465.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.3151, allocations: 2.214 MB / 467.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3151, allocations: 3.938 kB / 467.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.317, allocations: 1.197 MB / 469 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.3173, allocations: 91.5 kB / 469.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.3174, allocations: 20.11 kB / 469.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.3178, allocations: 43.95 kB / 469.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3179, allocations: 44.3 kB / 469.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.318, allocations: 16 kB / 469.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009831/0.319, allocations: 0.5926 MB / 469.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.319, allocations: 0 / 469.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009029/0.3199, allocations: 216 kB / 470 MB, free: 14.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/0.3223, allocations: 1.749 MB / 471.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.324, allocations: 0.812 MB / 472.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.324, allocations: 3.938 kB / 472.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008398/0.3249, allocations: 481.7 kB / 473.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3259, allocations: 177.5 kB / 473.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.3393, allocations: 8.645 MB / 481.9 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3403, allocations: 0.7408 MB / 482.6 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005237/0.3408, allocations: 185.8 kB / 482.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.3414, allocations: 379.3 kB / 483.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3414, allocations: 0 / 483.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06592/0.4073, allocations: 21.13 MB / 0.4925 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.69, allocations: 0 / 0.4925 GB, free: 12.49 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_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_TransformerYY.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.211427240632474]