Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2892, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006629/0.2959, allocations: 3.777 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2982, allocations: 1.013 MB / 413.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.2987, allocations: 27.88 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.2992, allocations: 150.8 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3005, allocations: 274.5 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.3009, allocations: 135.8 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.3028, allocations: 1.404 MB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.3043, allocations: 1.182 MB / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3054, allocations: 0.6308 MB / 417.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.3065, allocations: 0.7628 MB / 418.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.3068, allocations: 156 kB / 418.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.3071, allocations: 160 kB / 418.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.3078, allocations: 462.7 kB / 418.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.3087, allocations: 0.7311 MB / 419.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.3112, allocations: 2.047 MB / 421.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.3113, allocations: 4 kB / 421.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3113, allocations: 0 / 421.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.3113, allocations: 0 / 421.6 MB, free: 4.578 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.003385/0.3147, allocations: 1.706 MB / 423.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.3148, allocations: 12.02 kB / 423.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.315, allocations: 169.2 kB / 423.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006925/0.3157, allocations: 176 kB / 423.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.3173, allocations: 0.9168 MB / 424.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.3174, allocations: 82.16 kB / 424.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.3175, allocations: 108 kB / 424.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.3203, allocations: 1.544 MB / 426.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3203, allocations: 0 / 426.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.3204, allocations: 52 kB / 426.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.3205, allocations: 28 kB / 426.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.3229, allocations: 1.312 MB / 427.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007463/0.3304, allocations: 4.183 MB / 431.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.3321, allocations: 1.314 MB / 433.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/0.3328, allocations: 450.5 kB / 433.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.3329, allocations: 4.438 kB / 433.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3329, allocations: 43 kB / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.885e-06/0.333, allocations: 0 / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003842/0.3368, allocations: 1.964 MB / 435.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.337, allocations: 63.78 kB / 435.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.3384, allocations: 0.8282 MB / 436.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.3384, allocations: 37.7 kB / 436.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.339, allocations: 0.5545 MB / 437.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3392, allocations: 178.5 kB / 437.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.3394, allocations: 110.1 kB / 437.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.3396, allocations: 390.8 kB / 437.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.3403, allocations: 304.9 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.3409, allocations: 399.4 kB / 438.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.342, allocations: 0.7067 MB / 439.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.342, allocations: 0 / 439.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00178/0.3438, allocations: 0.9167 MB / 440.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3438, allocations: 8 kB / 440.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3439, allocations: 4 kB / 440.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.3442, allocations: 117 kB / 440.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.3447, allocations: 119.8 kB / 440.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.3476, allocations: 2.368 MB / 442.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.3482, allocations: 31.97 kB / 442.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.3483, allocations: 20.06 kB / 442.8 MB, free: 14.6 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.0007973/0.3491, allocations: 457.5 kB / 443.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.3493, allocations: 75.53 kB / 443.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.3495, allocations: 95.08 kB / 443.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3495, allocations: 4 kB / 443.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3495, allocations: 7.938 kB / 443.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3495, allocations: 3.984 kB / 443.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/0.3535, allocations: 2.009 MB / 445.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.3535, allocations: 0 / 445.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.3539, allocations: 91.88 kB / 445.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.3542, allocations: 105.1 kB / 445.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.3542, allocations: 12 kB / 445.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.3569, allocations: 2.329 MB / 448 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.357, allocations: 12.06 kB / 448 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.359, allocations: 1.204 MB / 449.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.3593, allocations: 160.7 kB / 449.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.3595, allocations: 23.92 kB / 449.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.3599, allocations: 43.95 kB / 449.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3601, allocations: 44.27 kB / 449.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.3601, allocations: 24.05 kB / 449.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009583/0.3611, allocations: 0.5888 MB / 450.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3611, allocations: 0 / 450.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008711/0.362, allocations: 208 kB / 450.3 MB, free: 6.844 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.002397/0.3644, allocations: 1.761 MB / 452 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.366, allocations: 0.8201 MB / 452.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3661, allocations: 0.6875 kB / 452.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.3669, allocations: 496.9 kB / 453.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.368, allocations: 171.2 kB / 453.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.3829, allocations: 8.651 MB / 462.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.3843, allocations: 1.34 MB / 463.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005647/0.3849, allocations: 185.8 kB / 463.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/0.3856, allocations: 379.3 kB / 464.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3856, allocations: 4 kB / 464.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06026/0.4459, allocations: 19.6 MB / 483.7 MB, free: 5.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.99, allocations: 12.92 kB / 483.7 MB, free: 5.387 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches