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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.001845/0.001845, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.35/1.35, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 39.25 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08366, allocations: 49.46 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004796/0.08849, allocations: 3.75 MB / 353.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.09034, allocations: 1.005 MB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.09078, allocations: 23.88 kB / 355 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.09122, allocations: 146.8 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.0922, allocations: 286.4 kB / 355.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.09252, allocations: 123.8 kB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.09389, allocations: 1.408 MB / 356.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.09519, allocations: 1.217 MB / 358.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007311/0.09593, allocations: 0.6386 MB / 358.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.097, allocations: 0.7706 MB / 359.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.09729, allocations: 160 kB / 359.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.09762, allocations: 164 kB / 359.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.09804, allocations: 466.7 kB / 360.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009/0.09895, allocations: 0.7389 MB / 361 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.1006, allocations: 2.053 MB / 363.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1006, allocations: 0 / 363.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1006, allocations: 0 / 363.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.168e-05/0.1007, allocations: 0 / 363.1 MB, free: 7.297 MB / 302.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.003161/0.1038, allocations: 1.684 MB / 364.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1039, allocations: 15.97 kB / 364.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.1041, allocations: 177.3 kB / 365 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1044, allocations: 143.2 kB / 365.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.1057, allocations: 0.8617 MB / 366 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.1058, allocations: 86.38 kB / 366.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.1059, allocations: 108 kB / 366.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.1082, allocations: 1.576 MB / 367.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1082, allocations: 0 / 367.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1083, allocations: 48 kB / 367.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1083, allocations: 32 kB / 367.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.1102, allocations: 1.328 MB / 369.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1411/0.2513, allocations: 4.313 MB / 373.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2525, allocations: 1.345 MB / 374.8 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008651/0.2534, allocations: 0.527 MB / 375.3 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.2534, allocations: 6.406 kB / 375.3 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2534, allocations: 41.47 kB / 375.4 MB, free: 22.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.2534, allocations: 1.906 kB / 375.4 MB, free: 22.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00143/0.2549, allocations: 0.8689 MB / 376.2 MB, free: 21.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2549, allocations: 57.34 kB / 376.3 MB, free: 21.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.256, allocations: 0.822 MB / 377.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2561, allocations: 40.58 kB / 377.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.2564, allocations: 0.5417 MB / 377.7 MB, free: 21.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2566, allocations: 178.5 kB / 377.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2567, allocations: 103.6 kB / 378 MB, free: 20.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2569, allocations: 386 kB / 378.4 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.2573, allocations: 304.5 kB / 378.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.2579, allocations: 392.8 kB / 379 MB, free: 20.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2589, allocations: 0.6881 MB / 379.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2589, allocations: 1.156 kB / 379.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001277/0.2602, allocations: 0.8267 MB / 380.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2602, allocations: 5.625 kB / 380.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2602, allocations: 3.781 kB / 380.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2602, allocations: 8.531 kB / 380.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2608, allocations: 147.5 kB / 380.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.2609, allocations: 6.156 kB / 380.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.2612, allocations: 62.72 kB / 380.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.2613, allocations: 19.11 kB / 380.8 MB, free: 19.67 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.0005094/0.2618, allocations: 463.3 kB / 381.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2619, allocations: 80.12 kB / 381.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.262, allocations: 93.69 kB / 381.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.262, allocations: 4.531 kB / 381.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2621, allocations: 9.031 kB / 381.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2621, allocations: 2.062 kB / 381.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.2649, allocations: 1.942 MB / 383.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2649, allocations: 1.188 kB / 383.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.2654, allocations: 117 kB / 383.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.2654, allocations: 7.844 kB / 383.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.2654, allocations: 13.14 kB / 383.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2654, allocations: 3.531 kB / 383.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2654, allocations: 3.453 kB / 383.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2668, allocations: 1.126 MB / 384.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2669, allocations: 173.5 kB / 384.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.267, allocations: 13.03 kB / 384.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.2674, allocations: 48.23 kB / 384.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.2675, allocations: 36.36 kB / 384.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.2675, allocations: 20.98 kB / 384.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006091/0.2682, allocations: 0.5923 MB / 385.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2682, allocations: 0 / 385.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00065/0.2688, allocations: 287.7 kB / 385.8 MB, free: 17.4 MB / 302.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.001455/0.2703, allocations: 1.681 MB / 387.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2715, allocations: 0.7938 MB / 388.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2715, allocations: 4 kB / 388.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.2719, allocations: 327.7 kB / 388.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.2727, allocations: 175.1 kB / 388.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/0.2814, allocations: 8.843 MB / 397.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.282, allocations: 1.348 MB / 399 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.2824, allocations: 209.8 kB / 399.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.2828, allocations: 391.2 kB / 399.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2828, allocations: 0 / 399.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.3162, allocations: 18.66 MB / 418.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.977, allocations: 14.56 kB / 418.2 MB, free: 4.734 MB / 318.1 MB (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) 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) Reference file matches