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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 98.88 kB / 17.58 MB, free: 5.418 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.001911/0.001911, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08258, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004674/0.08728, allocations: 3.723 MB / 331.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.08893, allocations: 1.056 MB / 332.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.08912, allocations: 19.88 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.08942, allocations: 150.8 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006592/0.09009, allocations: 298.4 kB / 332.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.09035, allocations: 127.8 kB / 332.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.09161, allocations: 1.444 MB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.09272, allocations: 1.146 MB / 335.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.09331, allocations: 0.6425 MB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.09413, allocations: 0.7667 MB / 336.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.09434, allocations: 156 kB / 336.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.09459, allocations: 160 kB / 337.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.09496, allocations: 474.7 kB / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.09563, allocations: 0.7389 MB / 338.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.09713, allocations: 2.045 MB / 340.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.09715, allocations: 4 kB / 340.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09715, allocations: 0 / 340.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.09718, allocations: 0 / 340.3 MB, free: 7.359 MB / 286.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.002598/0.09979, allocations: 1.68 MB / 342 MB, free: 5.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.09983, allocations: 8.031 kB / 342 MB, free: 5.617 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.1, allocations: 181.3 kB / 342.2 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.1003, allocations: 143.2 kB / 342.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1013, allocations: 0.8267 MB / 343.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.1014, allocations: 86.38 kB / 343.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.1016, allocations: 112 kB / 343.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.1038, allocations: 1.568 MB / 344.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1038, allocations: 0 / 344.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1039, allocations: 48 kB / 344.9 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1039, allocations: 24 kB / 345 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.1059, allocations: 1.332 MB / 346.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.1118, allocations: 4.314 MB / 350.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1129, allocations: 1.335 MB / 351.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008134/0.1137, allocations: 0.5301 MB / 352.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1137, allocations: 8.438 kB / 352.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1138, allocations: 38.98 kB / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.953e-06/0.1138, allocations: 0 / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001321/0.1151, allocations: 0.8768 MB / 353.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1151, allocations: 55.84 kB / 353.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.1161, allocations: 0.8282 MB / 354.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.1161, allocations: 37.7 kB / 354.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.1165, allocations: 0.5414 MB / 354.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1166, allocations: 173.5 kB / 355 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.1168, allocations: 102.2 kB / 355.1 MB, free: 8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1169, allocations: 390.8 kB / 355.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.1174, allocations: 300.9 kB / 355.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.1179, allocations: 394.5 kB / 356.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.1188, allocations: 0.698 MB / 356.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1188, allocations: 0 / 356.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001169/0.12, allocations: 0.8261 MB / 357.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.12, allocations: 4 kB / 357.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.12, allocations: 4 kB / 357.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1201, allocations: 4 kB / 357.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.1206, allocations: 151.7 kB / 357.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1207, allocations: 4 kB / 357.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.121, allocations: 71.34 kB / 357.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1211, allocations: 20 kB / 358 MB, free: 5.09 MB / 302.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.0005031/0.1216, allocations: 462.5 kB / 358.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1217, allocations: 79.16 kB / 358.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.1219, allocations: 87.08 kB / 358.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1219, allocations: 8 kB / 358.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1219, allocations: 0 / 358.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1219, allocations: 7.922 kB / 358.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.1246, allocations: 1.954 MB / 360.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1246, allocations: 0 / 360.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.1251, allocations: 115.9 kB / 360.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.1251, allocations: 7.938 kB / 360.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.1251, allocations: 8 kB / 360.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1252, allocations: 4 kB / 360.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1252, allocations: 4.156 kB / 360.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1266, allocations: 1.133 MB / 361.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1267, allocations: 168.1 kB / 362 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/0.1268, allocations: 15.98 kB / 362 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1272, allocations: 47.95 kB / 362 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.1273, allocations: 40.33 kB / 362.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.1274, allocations: 19.98 kB / 362.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006317/0.128, allocations: 0.5927 MB / 362.7 MB, free: 232 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.128, allocations: 0 / 362.7 MB, free: 232 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006282/0.1287, allocations: 274.9 kB / 363 MB, free: 15.95 MB / 318.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.001611/0.1303, allocations: 1.678 MB / 364.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1315, allocations: 0.8059 MB / 365.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1315, allocations: 0 / 365.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.1319, allocations: 323.1 kB / 365.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/0.1328, allocations: 182.8 kB / 365.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.143, allocations: 8.876 MB / 374.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/0.1439, allocations: 1.336 MB / 376.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.1444, allocations: 209.8 kB / 376.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.1448, allocations: 387.3 kB / 376.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1448, allocations: 0 / 376.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/0.3028, allocations: 18.68 MB / 395.4 MB, free: 47.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.815, allocations: 7.609 kB / 395.4 MB, free: 47.7 MB / 318.1 MB (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) 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) Reference file matches