Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001131/0.001131, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.12 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2699, allocations: 50.54 MB / 408.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00631/0.2762, allocations: 5.618 MB / 414.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.2797, allocations: 1.865 MB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.2803, allocations: 20 kB / 416.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.2837, allocations: 1.614 MB / 417.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2855, allocations: 0.5862 MB / 418.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.2864, allocations: 418.9 kB / 418.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.2872, allocations: 0.8017 MB / 419.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.2885, allocations: 0.8633 MB / 420.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.2891, allocations: 362.6 kB / 420.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.2896, allocations: 494.1 kB / 421.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2897, allocations: 76 kB / 421.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.2902, allocations: 243.9 kB / 421.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2905, allocations: 183.4 kB / 421.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.2908, allocations: 429.9 kB / 422.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.2923, allocations: 1.175 MB / 423.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2923, allocations: 3.938 kB / 423.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2923, allocations: 0 / 423.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.2924, allocations: 0 / 423.5 MB, free: 2.914 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.003348/0.2957, allocations: 1.376 MB / 424.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2958, allocations: 12.03 kB / 424.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.296, allocations: 144.3 kB / 425 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/0.3007, allocations: 0.656 MB / 425.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.3017, allocations: 415.2 kB / 426 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.3017, allocations: 74.38 kB / 426.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.3019, allocations: 100.4 kB / 426.2 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.3037, allocations: 0.9899 MB / 427.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3038, allocations: 3.984 kB / 427.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.3039, allocations: 40 kB / 427.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3039, allocations: 24 kB / 427.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.3055, allocations: 0.9252 MB / 428.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.3104, allocations: 3.427 MB / 431.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.3129, allocations: 2.237 MB / 433.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.3134, allocations: 295.5 kB / 434.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.3136, allocations: 182.8 kB / 434.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.3137, allocations: 39.06 kB / 434.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.647e-06/0.3137, allocations: 4 kB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00151/0.3152, allocations: 0.7175 MB / 435.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.3153, allocations: 115.4 kB / 435.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.3157, allocations: 270.5 kB / 435.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.3158, allocations: 37.7 kB / 435.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.316, allocations: 391.9 kB / 435.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.3162, allocations: 234 kB / 436.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.3164, allocations: 138.7 kB / 436.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3166, allocations: 346.8 kB / 436.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.317, allocations: 225.9 kB / 436.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.3175, allocations: 435.3 kB / 437.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3186, allocations: 0.6911 MB / 437.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3186, allocations: 0 / 437.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001294/0.3199, allocations: 0.7527 MB / 438.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.3199, allocations: 11.94 kB / 438.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.32, allocations: 8 kB / 438.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.32, allocations: 12 kB / 438.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.3207, allocations: 191.7 kB / 438.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.522e-05/0.3208, allocations: 15.94 kB / 438.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3213, allocations: 87.58 kB / 439 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.3213, allocations: 32 kB / 439 MB, free: 2.359 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.0003533/0.3217, allocations: 221.5 kB / 439.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3218, allocations: 51.62 kB / 439.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3231, allocations: 0.6479 MB / 439.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3231, allocations: 8 kB / 440 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3231, allocations: 3.938 kB / 440 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3231, allocations: 3.984 kB / 440 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.3256, allocations: 1.47 MB / 441.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3256, allocations: 0 / 441.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.3262, allocations: 143.8 kB / 441.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3262, allocations: 4 kB / 441.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3263, allocations: 12 kB / 441.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.3263, allocations: 7.938 kB / 441.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3263, allocations: 4 kB / 441.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3279, allocations: 1.127 MB / 442.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3281, allocations: 120.7 kB / 442.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.3281, allocations: 12 kB / 442.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.3285, allocations: 31.98 kB / 442.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3286, allocations: 44.5 kB / 442.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.3287, allocations: 16 kB / 442.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3289, allocations: 182 kB / 443.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3289, allocations: 0 / 443.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007954/0.3297, allocations: 235.3 kB / 443.4 MB, free: 13.93 MB / 366.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.002045/0.3317, allocations: 1.71 MB / 445.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3329, allocations: 0.6096 MB / 445.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3329, allocations: 0 / 445.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.3334, allocations: 304.5 kB / 446 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.334, allocations: 42.95 kB / 446 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/0.3409, allocations: 4.851 MB / 450.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.3415, allocations: 0.9007 MB / 451.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.3419, allocations: 76.39 kB / 451.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.3422, allocations: 255.3 kB / 452.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3422, allocations: 0 / 452.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3731, allocations: 9.578 MB / 461.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.688, allocations: 22.47 kB / 461.7 MB, free: 11.43 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches