Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 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.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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.001156/0.001156, allocations: 114 kB / 17.74 MB, free: 5.355 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.001145/0.001145, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.313/1.313, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001326/0.001326, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08686, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004778/0.09168, allocations: 3.719 MB / 378.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.09376, allocations: 1.021 MB / 379.4 MB, free: 336 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000434/0.09423, allocations: 19.88 kB / 379.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.0947, allocations: 154.8 kB / 379.6 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.176/0.2708, allocations: 268.7 kB / 379.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.2715, allocations: 140 kB / 380 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.2735, allocations: 1.413 MB / 381.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.2753, allocations: 1.112 MB / 382.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2765, allocations: 0.6237 MB / 383.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.2783, allocations: 0.7549 MB / 383.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.2788, allocations: 156.1 kB / 384 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.2795, allocations: 155.1 kB / 384.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006722/0.2802, allocations: 463.7 kB / 384.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.2817, allocations: 0.7256 MB / 385.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2845, allocations: 2.034 MB / 387.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.2845, allocations: 0.6562 kB / 387.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2845, allocations: 3.938 kB / 387.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.495e-05/0.2846, allocations: 1.156 kB / 387.4 MB, free: 7.539 MB / 318.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.003603/0.2882, allocations: 1.692 MB / 389.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2882, allocations: 9.719 kB / 389.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.2885, allocations: 180.5 kB / 389.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.2888, allocations: 146 kB / 389.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2902, allocations: 0.8233 MB / 390.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.2903, allocations: 77.81 kB / 390.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2905, allocations: 112.4 kB / 390.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.2931, allocations: 1.538 MB / 391.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.2932, allocations: 4.781 kB / 391.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.2933, allocations: 49.78 kB / 392 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.2933, allocations: 31.06 kB / 392 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.2954, allocations: 1.304 MB / 393.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.3019, allocations: 4.181 MB / 397.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/0.3028, allocations: 1.305 MB / 398.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.3035, allocations: 454 kB / 399.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.3035, allocations: 12.42 kB / 399.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3036, allocations: 46.5 kB / 399.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.3036, allocations: 0 / 399.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.003109/0.3067, allocations: 1.952 MB / 401.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3067, allocations: 57.25 kB / 401.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3079, allocations: 0.8229 MB / 402.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.308, allocations: 37.14 kB / 402.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.3084, allocations: 0.5536 MB / 402.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3085, allocations: 184 kB / 402.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3087, allocations: 102.8 kB / 403 MB, free: 14.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3089, allocations: 387.9 kB / 403.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.3093, allocations: 307.8 kB / 403.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.3099, allocations: 402.4 kB / 404.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.3108, allocations: 0.7024 MB / 404.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3108, allocations: 1.375 kB / 404.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001371/0.3122, allocations: 0.9177 MB / 405.7 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3122, allocations: 6.938 kB / 405.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3123, allocations: 2.594 kB / 405.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.3125, allocations: 104.9 kB / 405.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.3131, allocations: 127.8 kB / 405.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.3152, allocations: 2.377 MB / 408.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.3158, allocations: 36.59 kB / 408.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3158, allocations: 16.12 kB / 408.4 MB, free: 10.78 MB / 334.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.0006528/0.3165, allocations: 463.9 kB / 408.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3166, allocations: 82.06 kB / 408.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.3168, allocations: 90.55 kB / 409 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3168, allocations: 5.375 kB / 409 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3168, allocations: 1.844 kB / 409 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3168, allocations: 7.922 kB / 409 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.3198, allocations: 2.012 MB / 411 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3199, allocations: 2.281 kB / 411 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.3202, allocations: 90.91 kB / 411.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/0.3204, allocations: 100.3 kB / 411.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.3205, allocations: 21.61 kB / 411.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.3224, allocations: 2.323 MB / 413.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3225, allocations: 1.375 kB / 413.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.324, allocations: 1.206 MB / 414.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.3244, allocations: 164.6 kB / 414.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.3245, allocations: 20.06 kB / 414.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.325, allocations: 43.95 kB / 415 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.3251, allocations: 44.31 kB / 415 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3251, allocations: 16 kB / 415 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007828/0.3259, allocations: 0.5927 MB / 415.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3259, allocations: 0 / 415.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.3268, allocations: 208 kB / 415.8 MB, free: 4.805 MB / 334.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.001859/0.3287, allocations: 1.761 MB / 417.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.33, allocations: 0.8163 MB / 418.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.3301, allocations: 4 kB / 418.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.3308, allocations: 498.3 kB / 418.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.3318, allocations: 177.5 kB / 419.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.3442, allocations: 8.62 MB / 427.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.3455, allocations: 1.328 MB / 429 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.346, allocations: 185.8 kB / 429.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.3466, allocations: 375.3 kB / 429.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3466, allocations: 0 / 429.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.3941, allocations: 19.47 MB / 449 MB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.92, allocations: 23.92 kB / 449.1 MB, free: 3.223 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches