Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 110.1 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 51.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2638, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005384/0.2692, allocations: 3.756 MB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2712, allocations: 0.9502 MB / 404.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.2714, allocations: 19.94 kB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.2717, allocations: 142.8 kB / 405.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.2725, allocations: 282.5 kB / 405.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.2728, allocations: 131.8 kB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.2743, allocations: 1.385 MB / 406.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.2757, allocations: 1.174 MB / 408.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.2765, allocations: 0.6425 MB / 408.7 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.2776, allocations: 0.7511 MB / 409.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.2779, allocations: 156 kB / 409.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.2782, allocations: 159.9 kB / 409.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.2786, allocations: 458.8 kB / 410.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.2794, allocations: 0.7311 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.2815, allocations: 2.039 MB / 413 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2815, allocations: 0 / 413 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2815, allocations: 0 / 413 MB, free: 11.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.2815, allocations: 4 kB / 413 MB, free: 11.98 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002964/0.2845, allocations: 1.702 MB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2845, allocations: 11.89 kB / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.2848, allocations: 177.2 kB / 414.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.285, allocations: 148 kB / 415 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.2863, allocations: 0.8701 MB / 415.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.2864, allocations: 86.16 kB / 416 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.2866, allocations: 115.9 kB / 416.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.2891, allocations: 1.552 MB / 417.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2891, allocations: 0 / 417.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.2892, allocations: 40 kB / 417.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.2893, allocations: 28 kB / 417.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.2914, allocations: 1.316 MB / 419 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.2979, allocations: 4.179 MB / 423.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.2993, allocations: 1.324 MB / 424.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/0.3, allocations: 462.5 kB / 425 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.3, allocations: 8.438 kB / 425 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3001, allocations: 39 kB / 425 MB, free: 15.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.3001, allocations: 0 / 425 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003372/0.3035, allocations: 1.96 MB / 427 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3035, allocations: 55.84 kB / 427 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3046, allocations: 0.8165 MB / 427.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.3047, allocations: 37.7 kB / 427.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.3051, allocations: 0.5545 MB / 428.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.3053, allocations: 182.5 kB / 428.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.3055, allocations: 106.2 kB / 428.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3057, allocations: 386.8 kB / 429.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.3062, allocations: 308.8 kB / 429.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3067, allocations: 399.4 kB / 429.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3078, allocations: 0.6989 MB / 430.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3078, allocations: 0 / 430.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001491/0.3093, allocations: 0.9167 MB / 431.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3094, allocations: 8.312 kB / 431.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3094, allocations: 8 kB / 431.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.3097, allocations: 112.7 kB / 431.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3102, allocations: 119.9 kB / 431.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3127, allocations: 2.368 MB / 434 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.3131, allocations: 32.03 kB / 434.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.3131, allocations: 23.94 kB / 434.1 MB, free: 6.078 MB / 350.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.0007116/0.3138, allocations: 457.4 kB / 434.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.314, allocations: 75.53 kB / 434.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.3141, allocations: 95.08 kB / 434.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3141, allocations: 4 kB / 434.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.3142, allocations: 7.938 kB / 434.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3142, allocations: 3.984 kB / 434.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.3175, allocations: 2.009 MB / 436.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3175, allocations: 4 kB / 436.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.3178, allocations: 83.88 kB / 436.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.3181, allocations: 108.9 kB / 436.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3181, allocations: 12 kB / 436.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.3204, allocations: 2.329 MB / 439.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3204, allocations: 0 / 439.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.3222, allocations: 1.205 MB / 440.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.3224, allocations: 168.6 kB / 440.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.3225, allocations: 15.98 kB / 440.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3229, allocations: 51.95 kB / 440.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.323, allocations: 52.31 kB / 440.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.323, allocations: 16 kB / 440.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.3238, allocations: 0.581 MB / 441.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3238, allocations: 0 / 441.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.3245, allocations: 212 kB / 441.5 MB, free: 14.34 MB / 366.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.00213/0.3267, allocations: 1.757 MB / 443.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3281, allocations: 0.8245 MB / 444.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3281, allocations: 4.188 kB / 444.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.3289, allocations: 492.8 kB / 444.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.3298, allocations: 175.1 kB / 444.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.3418, allocations: 8.585 MB / 453.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.3429, allocations: 1.34 MB / 454.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.3434, allocations: 185.8 kB / 454.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.3439, allocations: 379.3 kB / 455.3 MB, free: 324 kB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.344, allocations: 0 / 455.3 MB, free: 324 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.3961, allocations: 19.49 MB / 474.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.27, allocations: 23.3 kB / 474.8 MB, free: 13.05 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches