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.001305/0.001305, allocations: 110.5 kB / 17.06 MB, free: 5.82 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.001381/0.001381, allocations: 195.9 kB / 18 MB, free: 4.965 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 43.94 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2747, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007346/0.2821, allocations: 5.607 MB / 405.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.2856, allocations: 1.811 MB / 407.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.286, allocations: 19.94 kB / 407.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.2897, allocations: 1.613 MB / 409.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.2915, allocations: 0.7595 MB / 410 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.2922, allocations: 279.3 kB / 410.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009737/0.2932, allocations: 0.8017 MB / 411.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.2945, allocations: 0.8633 MB / 412 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.295, allocations: 358.6 kB / 412.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.2956, allocations: 490.2 kB / 412.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2957, allocations: 76 kB / 412.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.2962, allocations: 239.8 kB / 413.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.2964, allocations: 183.4 kB / 413.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.2968, allocations: 421.9 kB / 413.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2982, allocations: 1.171 MB / 414.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2982, allocations: 0 / 414.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2983, allocations: 0 / 414.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2983, allocations: 4 kB / 414.9 MB, free: 10.1 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.003333/0.3016, allocations: 1.372 MB / 416.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3017, allocations: 12.03 kB / 416.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.3019, allocations: 148.3 kB / 416.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.3064, allocations: 0.6482 MB / 417.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.3071, allocations: 423.1 kB / 417.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.3072, allocations: 74.38 kB / 417.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3073, allocations: 104.3 kB / 417.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.309, allocations: 0.986 MB / 418.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.309, allocations: 4 kB / 418.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.3091, allocations: 40 kB / 418.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.3092, allocations: 24 kB / 418.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.3109, allocations: 0.9213 MB / 419.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/0.3161, allocations: 3.344 MB / 423 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.319, allocations: 2.237 MB / 425.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.3195, allocations: 301.8 kB / 425.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.3196, allocations: 101.6 kB / 425.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.3197, allocations: 43.06 kB / 425.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.896e-06/0.3197, allocations: 0 / 425.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001461/0.3212, allocations: 0.7135 MB / 426.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.3213, allocations: 111.4 kB / 426.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.3216, allocations: 278.5 kB / 426.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.3216, allocations: 37.7 kB / 426.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.3219, allocations: 384.2 kB / 427.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.3221, allocations: 242 kB / 427.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3223, allocations: 138.6 kB / 427.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3225, allocations: 346.8 kB / 427.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.3229, allocations: 221.9 kB / 428.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.3236, allocations: 439.3 kB / 428.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3247, allocations: 0.6911 MB / 429.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3247, allocations: 0 / 429.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001269/0.3259, allocations: 0.7487 MB / 429.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.326, allocations: 11.94 kB / 430 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.326, allocations: 8 kB / 430 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.326, allocations: 12 kB / 430 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.3267, allocations: 191.7 kB / 430.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.3268, allocations: 16.33 kB / 430.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.3272, allocations: 83.41 kB / 430.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.3272, allocations: 35.98 kB / 430.3 MB, free: 9.766 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.0002906/0.3275, allocations: 217.6 kB / 430.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3276, allocations: 47.66 kB / 430.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3289, allocations: 0.644 MB / 431.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3289, allocations: 8 kB / 431.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3289, allocations: 4 kB / 431.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3289, allocations: 3.984 kB / 431.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.3313, allocations: 1.477 MB / 432.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3313, allocations: 0 / 432.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.3319, allocations: 143.8 kB / 432.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.3319, allocations: 4 kB / 432.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.3319, allocations: 16 kB / 432.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.332, allocations: 15.88 kB / 432.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.332, allocations: 0 / 432.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3336, allocations: 1.112 MB / 434 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3337, allocations: 136.7 kB / 434.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.3338, allocations: 12 kB / 434.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.3341, allocations: 31.86 kB / 434.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.3342, allocations: 40.52 kB / 434.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.3343, allocations: 19.98 kB / 434.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3345, allocations: 182 kB / 434.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3345, allocations: 0 / 434.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007113/0.3352, allocations: 223.4 kB / 434.6 MB, free: 5.34 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.002077/0.3373, allocations: 1.711 MB / 436.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.3384, allocations: 0.6093 MB / 436.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3385, allocations: 1.75 kB / 436.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.3389, allocations: 307 kB / 437.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.3395, allocations: 40.69 kB / 437.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.346, allocations: 4.844 MB / 442.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.3467, allocations: 0.9007 MB / 443 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.3471, allocations: 76.39 kB / 443.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.3474, allocations: 255.4 kB / 443.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3474, allocations: 3.938 kB / 443.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.3823, allocations: 9.531 MB / 452.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/8.921, allocations: 7.172 kB / 452.9 MB, free: 2.891 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