Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001183/0.001184, allocations: 106.6 kB / 17.06 MB, free: 5.969 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.001039/0.001039, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.86 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2738, allocations: 49.43 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007103/0.2809, allocations: 5.611 MB / 405.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2844, allocations: 1.811 MB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.2848, allocations: 19.94 kB / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.2882, allocations: 1.616 MB / 409.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.2899, allocations: 0.7556 MB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.2905, allocations: 275.4 kB / 410.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008699/0.2914, allocations: 0.8016 MB / 411.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2927, allocations: 0.8633 MB / 412 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.2931, allocations: 362.6 kB / 412.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.2936, allocations: 490.2 kB / 412.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/0.2937, allocations: 84 kB / 412.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.2942, allocations: 235.8 kB / 413.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.2944, allocations: 183.4 kB / 413.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.2947, allocations: 425.9 kB / 413.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.296, allocations: 1.175 MB / 414.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.296, allocations: 0 / 414.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.296, allocations: 0 / 414.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.296, allocations: 0 / 414.9 MB, free: 10.08 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003155/0.2992, allocations: 1.364 MB / 416.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2992, allocations: 12.03 kB / 416.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.2994, allocations: 152.3 kB / 416.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.3039, allocations: 0.6482 MB / 417.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.3047, allocations: 427.1 kB / 417.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.3048, allocations: 70.38 kB / 417.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.305, allocations: 96.33 kB / 417.6 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3068, allocations: 0.9939 MB / 418.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.3069, allocations: 3.984 kB / 418.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.307, allocations: 36 kB / 418.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.307, allocations: 24 kB / 418.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.3087, allocations: 0.9175 MB / 419.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.3134, allocations: 3.344 MB / 423 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.3159, allocations: 2.241 MB / 425.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.3164, allocations: 305.6 kB / 425.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3165, allocations: 93.66 kB / 425.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3165, allocations: 51.05 kB / 425.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.364e-06/0.3165, allocations: 0 / 425.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001424/0.318, allocations: 0.7176 MB / 426.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3181, allocations: 107.4 kB / 426.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3184, allocations: 274.5 kB / 426.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.3184, allocations: 37.7 kB / 426.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.3187, allocations: 384 kB / 427.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3188, allocations: 242 kB / 427.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3191, allocations: 138.6 kB / 427.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3192, allocations: 346.8 kB / 427.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.3197, allocations: 221.9 kB / 428.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.3202, allocations: 435.3 kB / 428.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3213, allocations: 0.6911 MB / 429.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.3213, allocations: 4 kB / 429.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001269/0.3225, allocations: 0.749 MB / 429.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3226, allocations: 15.97 kB / 430 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3226, allocations: 4 kB / 430 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3226, allocations: 12 kB / 430 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.3233, allocations: 187.7 kB / 430.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.3233, allocations: 15.92 kB / 430.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.3238, allocations: 83.41 kB / 430.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.3238, allocations: 43.91 kB / 430.3 MB, free: 9.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003249/0.3242, allocations: 221.6 kB / 430.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3243, allocations: 47.66 kB / 430.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3256, allocations: 0.6401 MB / 431.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3256, allocations: 8 kB / 431.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3256, allocations: 0 / 431.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.3256, allocations: 3.984 kB / 431.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.3281, allocations: 1.481 MB / 432.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3282, allocations: 4 kB / 432.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.3287, allocations: 143.8 kB / 432.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.3287, allocations: 0 / 432.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.3288, allocations: 20 kB / 432.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3288, allocations: 7.938 kB / 432.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3288, allocations: 0 / 432.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3304, allocations: 1.115 MB / 434 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3306, allocations: 128.7 kB / 434.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.3307, allocations: 19.97 kB / 434.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.331, allocations: 23.94 kB / 434.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3311, allocations: 48.56 kB / 434.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3312, allocations: 20 kB / 434.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3314, allocations: 186 kB / 434.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3314, allocations: 0 / 434.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007911/0.3322, allocations: 219.4 kB / 434.6 MB, free: 5.312 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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.002002/0.3342, allocations: 1.711 MB / 436.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3353, allocations: 0.614 MB / 436.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3353, allocations: 4 kB / 436.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.3358, allocations: 299.1 kB / 437.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.3363, allocations: 47.16 kB / 437.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.343, allocations: 4.833 MB / 442.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.3436, allocations: 0.9007 MB / 443 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.3439, allocations: 80.38 kB / 443.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.3442, allocations: 259.3 kB / 443.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3442, allocations: 7.875 kB / 443.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3764, allocations: 9.513 MB / 452.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.607, allocations: 8.188 kB / 452.9 MB, free: 2.871 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches