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.001932/0.001932, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002347/0.002347, allocations: 182.7 kB / 23.7 MB, free: 4.191 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.541/1.541, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.00167/0.00167, allocations: 47.92 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2339, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005309/0.2393, allocations: 3.454 MB / 426 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2415, allocations: 0.9698 MB / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.2417, allocations: 31.75 kB / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.242, allocations: 154.8 kB / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008474/0.2429, allocations: 302.4 kB / 427.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.2431, allocations: 127.8 kB / 427.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2446, allocations: 1.412 MB / 429 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009129/0.2455, allocations: 0.6374 MB / 429.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.2463, allocations: 0.6659 MB / 430.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.2475, allocations: 0.7901 MB / 431.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.2477, allocations: 156 kB / 431.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.248, allocations: 160 kB / 431.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.2484, allocations: 478.6 kB / 431.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.2491, allocations: 0.603 MB / 432.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2511, allocations: 2.087 MB / 434.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2511, allocations: 0 / 434.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2511, allocations: 4 kB / 434.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.2512, allocations: 0 / 434.6 MB, free: 2.305 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.003134/0.2543, allocations: 1.646 MB / 436.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2544, allocations: 12.03 kB / 436.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.2546, allocations: 177.3 kB / 436.4 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2548, allocations: 148 kB / 436.5 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.2565, allocations: 0.8319 MB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.2566, allocations: 90.19 kB / 437.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.2568, allocations: 115.9 kB / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.2595, allocations: 1.723 MB / 439.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.2595, allocations: 0 / 439.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.2596, allocations: 51.98 kB / 439.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.2597, allocations: 28 kB / 439.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.2619, allocations: 1.328 MB / 440.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/0.2689, allocations: 3.891 MB / 444.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.2699, allocations: 0.6115 MB / 445.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.2708, allocations: 0.4917 MB / 445.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.2708, allocations: 4.438 kB / 445.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2708, allocations: 46.88 kB / 445.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.2708, allocations: 0 / 445.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001461/0.2723, allocations: 0.8772 MB / 446.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2723, allocations: 55.84 kB / 446.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2734, allocations: 0.832 MB / 447.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.2734, allocations: 37.7 kB / 447.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.2738, allocations: 0.5584 MB / 448.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.274, allocations: 186.4 kB / 448.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.2741, allocations: 102.3 kB / 448.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2743, allocations: 386.8 kB / 448.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.2748, allocations: 301.1 kB / 449.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.2754, allocations: 399.3 kB / 449.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2764, allocations: 0.6854 MB / 450.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2764, allocations: 0 / 450.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001281/0.2776, allocations: 0.8248 MB / 451 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.2777, allocations: 4 kB / 451 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2777, allocations: 4 kB / 451 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2777, allocations: 4 kB / 451 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.2783, allocations: 156.1 kB / 451.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.2783, allocations: 11.88 kB / 451.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.2787, allocations: 63.59 kB / 451.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.2787, allocations: 20 kB / 451.2 MB, free: 1.203 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.0006561/0.2794, allocations: 465.4 kB / 451.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2795, allocations: 75.53 kB / 451.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.2797, allocations: 87.08 kB / 451.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.2797, allocations: 8 kB / 451.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2797, allocations: 7.938 kB / 451.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2797, allocations: 3.984 kB / 451.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.283, allocations: 1.816 MB / 453.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.283, allocations: 0 / 453.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.2835, allocations: 127.8 kB / 453.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-06/0.2835, allocations: 7.938 kB / 453.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.2835, allocations: 12 kB / 453.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/0.2835, allocations: 7.984 kB / 453.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2835, allocations: 0 / 453.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.2851, allocations: 1.13 MB / 455 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.2854, allocations: 107.4 kB / 455.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.2855, allocations: 12 kB / 455.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.2859, allocations: 43.95 kB / 455.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.286, allocations: 44.3 kB / 455.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.286, allocations: 20.09 kB / 455.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.2868, allocations: 0.5888 MB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2868, allocations: 0 / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007143/0.2875, allocations: 287.1 kB / 456 MB, free: 12.27 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.2895, allocations: 1.686 MB / 457.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.2906, allocations: 0.6375 MB / 458.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2906, allocations: 0 / 458.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.2911, allocations: 311.1 kB / 458.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.292, allocations: 178.8 kB / 458.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.304, allocations: 8.513 MB / 467.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.3049, allocations: 0.7407 MB / 468.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005373/0.3054, allocations: 209.7 kB / 468.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.3059, allocations: 387.3 kB / 468.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3059, allocations: 4 kB / 468.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/0.359, allocations: 20.56 MB / 489.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.04, allocations: 18.69 kB / 489.3 MB, free: 11.1 MB / 398.1 MB " [Timeout remaining time 648] (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.6176029718481]