Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.198/0.198, allocations: 38.57 MB / 352.5 MB, free: 12.4 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 63.91 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3614, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.01049/0.3718, allocations: 5.32 MB / 0.5471 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.3755, allocations: 1.313 MB / 0.5484 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008689/0.3764, allocations: 26.47 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3774, allocations: 127.1 kB / 0.5486 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.3795, allocations: 388.5 kB / 0.5489 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.3802, allocations: 157.3 kB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3819, allocations: 0.7778 MB / 0.5498 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.3823, allocations: 137.2 kB / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.3834, allocations: 365.5 kB / 0.5503 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3845, allocations: 409.4 kB / 0.5507 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3848, allocations: 42.61 kB / 0.5508 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3851, allocations: 40.56 kB / 0.5508 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.3855, allocations: 205.7 kB / 0.551 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007026/0.3862, allocations: 232.2 kB / 0.5512 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3874, allocations: 0.5843 MB / 0.5518 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3874, allocations: 5.094 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3874, allocations: 0 / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.3874, allocations: 4 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002304/0.3897, allocations: 0.8255 MB / 0.5526 GB, free: 8.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3898, allocations: 18.08 kB / 0.5526 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.3899, allocations: 82.08 kB / 0.5527 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3901, allocations: 69.72 kB / 0.5528 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3913, allocations: 450.7 kB / 0.5532 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.3913, allocations: 29 kB / 0.5532 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/0.3914, allocations: 39.5 kB / 0.5533 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3924, allocations: 0.5642 MB / 0.5538 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3924, allocations: 7.938 kB / 0.5538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.3925, allocations: 17.31 kB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/0.3925, allocations: 21.88 kB / 0.5539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.3933, allocations: 421.5 kB / 0.5543 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.3964, allocations: 1.752 MB / 0.556 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.3971, allocations: 339 kB / 0.5563 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.3975, allocations: 199.3 kB / 0.5565 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3975, allocations: 12.19 kB / 0.5565 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.398, allocations: 310.5 kB / 0.5568 GB, free: 4.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.514e-06/0.398, allocations: 0 / 0.5568 GB, free: 4.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002287/0.4003, allocations: 1.198 MB / 0.558 GB, free: 3.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.4004, allocations: 162.2 kB / 0.5581 GB, free: 3.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.4009, allocations: 405.8 kB / 0.5585 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.401, allocations: 33.7 kB / 0.5585 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.4012, allocations: 300.2 kB / 0.5588 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.4014, allocations: 119 kB / 0.5589 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4015, allocations: 98.27 kB / 0.559 GB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4017, allocations: 358.8 kB / 0.5594 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.402, allocations: 146.6 kB / 0.5595 GB, free: 1.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.4025, allocations: 319.2 kB / 0.5598 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.4031, allocations: 481.3 kB / 0.5603 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4032, allocations: 4 kB / 0.5603 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009132/0.4041, allocations: 0.5472 MB / 0.5608 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/0.4041, allocations: 41.62 kB / 0.5608 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4041, allocations: 8 kB / 0.5609 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.4042, allocations: 11.94 kB / 0.5609 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.4047, allocations: 103.8 kB / 0.561 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-05/0.4047, allocations: 15.92 kB / 0.561 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.4052, allocations: 23.94 kB / 0.561 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.4052, allocations: 40.22 kB / 0.561 GB, free: 76 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * 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: 1 * 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.0005225/0.4058, allocations: 247.3 kB / 0.5613 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4059, allocations: 47.66 kB / 0.5613 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.407, allocations: 481.2 kB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.407, allocations: 4 kB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.407, allocations: 0 / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.407, allocations: 7.984 kB / 0.5618 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.4093, allocations: 0.9519 MB / 0.5627 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4093, allocations: 4.062 kB / 0.5627 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.4097, allocations: 63.91 kB / 0.5628 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.4097, allocations: 4 kB / 0.5628 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.4097, allocations: 16.05 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.4097, allocations: 4 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4097, allocations: 0 / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.4112, allocations: 0.7734 MB / 0.5636 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.4114, allocations: 63.72 kB / 0.5636 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.4115, allocations: 8 kB / 0.5636 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4118, allocations: 20.05 kB / 0.5637 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4119, allocations: 27.89 kB / 0.5637 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.412, allocations: 31.97 kB / 0.5637 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.4124, allocations: 267.1 kB / 0.564 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4124, allocations: 0 / 0.564 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.413, allocations: 104 kB / 0.5641 GB, free: 12.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.00156/0.4145, allocations: 1.344 MB / 0.5654 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.4154, allocations: 446.8 kB / 0.5658 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4154, allocations: 0 / 0.5658 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.4159, allocations: 260.9 kB / 0.5661 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.4168, allocations: 119.8 kB / 0.5662 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/0.4239, allocations: 4.272 MB / 0.5703 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4243, allocations: 284.1 kB / 0.5706 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.4246, allocations: 84.31 kB / 0.5707 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4248, allocations: 175.4 kB / 0.5709 GB, free: 5.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4248, allocations: 0 / 0.5709 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.4703, allocations: 9.571 MB / 0.5802 GB, free: 12.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.94, allocations: 10.75 kB / 0.5802 GB, free: 12.1 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.170431180857122]