Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001501/0.001501, allocations: 211.9 kB / 23.73 MB, free: 4.387 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1923/0.1923, allocations: 38.57 MB / 352.5 MB, free: 12.28 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.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.00212/0.00212, allocations: 63.91 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 62.47 MB / 0.5419 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008908/0.3651, allocations: 6.279 MB / 0.5481 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3685, allocations: 1.665 MB / 0.5497 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.3691, allocations: 31.5 kB / 0.5497 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008795/0.3699, allocations: 213.5 kB / 0.5499 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.371, allocations: 392.8 kB / 0.5503 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.3717, allocations: 231 kB / 0.5505 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.3733, allocations: 1.066 MB / 0.5516 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.3738, allocations: 295.7 kB / 0.5519 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3748, allocations: 499.9 kB / 0.5523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.3757, allocations: 462 kB / 0.5528 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.3759, allocations: 93.81 kB / 0.5529 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3761, allocations: 85.12 kB / 0.5529 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.3765, allocations: 287.9 kB / 0.5532 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.3769, allocations: 326.6 kB / 0.5535 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.3786, allocations: 1.053 MB / 0.5546 GB, free: 6.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3786, allocations: 1.156 kB / 0.5546 GB, free: 6.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3786, allocations: 0 / 0.5546 GB, free: 6.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.3787, allocations: 0 / 0.5546 GB, free: 6.906 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002553/0.3812, allocations: 0.9644 MB / 0.5555 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.3813, allocations: 12.98 kB / 0.5555 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.3814, allocations: 108.4 kB / 0.5556 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.3816, allocations: 82.28 kB / 0.5557 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.383, allocations: 0.586 MB / 0.5563 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.3833, allocations: 194.1 kB / 0.5564 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3834, allocations: 56 kB / 0.5565 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3849, allocations: 0.7499 MB / 0.5572 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3849, allocations: 3.938 kB / 0.5572 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.385, allocations: 20 kB / 0.5573 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.385, allocations: 20 kB / 0.5573 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3863, allocations: 0.605 MB / 0.5579 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.3901, allocations: 2.237 MB / 0.5601 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.391, allocations: 397.3 kB / 0.5604 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.3915, allocations: 195.1 kB / 0.5606 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3915, allocations: 4.281 kB / 0.5606 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.392, allocations: 239.3 kB / 0.5608 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.274e-06/0.392, allocations: 0 / 0.5608 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003261/0.3953, allocations: 0.8033 MB / 0.5616 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.3954, allocations: 140.4 kB / 0.5618 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.3959, allocations: 413.9 kB / 0.5622 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3959, allocations: 29.7 kB / 0.5622 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.3962, allocations: 320.7 kB / 0.5625 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3964, allocations: 127 kB / 0.5626 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3965, allocations: 78.12 kB / 0.5627 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3967, allocations: 354.8 kB / 0.563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.397, allocations: 132.8 kB / 0.5632 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.3975, allocations: 246 kB / 0.5634 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3991, allocations: 0.6642 MB / 0.564 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3991, allocations: 4 kB / 0.564 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001171/0.4003, allocations: 0.5215 MB / 0.5646 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4003, allocations: 8 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4003, allocations: 4 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.4008, allocations: 148.9 kB / 0.5647 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.4011, allocations: 75.84 kB / 0.5648 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.405, allocations: 2.14 MB / 0.5669 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4054, allocations: 51.61 kB / 0.5669 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.4054, allocations: 16 kB / 0.5669 GB, free: 10.01 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.4058, allocations: 257.6 kB / 0.5672 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.4059, allocations: 47.84 kB / 0.5672 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.4073, allocations: 482.6 kB / 0.5677 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.4073, allocations: 7.938 kB / 0.5677 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4073, allocations: 0 / 0.5677 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4073, allocations: 3.984 kB / 0.5677 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.4083, allocations: 0.6074 MB / 0.5683 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4083, allocations: 0 / 0.5683 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.4085, allocations: 47.92 kB / 0.5683 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.409, allocations: 148.8 kB / 0.5685 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.409, allocations: 8 kB / 0.5685 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.4126, allocations: 2.125 MB / 0.5706 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4126, allocations: 4.031 kB / 0.5706 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.4144, allocations: 0.6883 MB / 0.5712 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.4146, allocations: 79.7 kB / 0.5713 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.4147, allocations: 8 kB / 0.5713 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.4149, allocations: 23.92 kB / 0.5713 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4151, allocations: 35.92 kB / 0.5714 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.4151, allocations: 12 kB / 0.5714 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.4155, allocations: 283.1 kB / 0.5717 GB, free: 4.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4155, allocations: 3.938 kB / 0.5717 GB, free: 4.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006731/0.4161, allocations: 163.6 kB / 0.5718 GB, free: 4.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00211/0.4182, allocations: 1.244 MB / 0.573 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4193, allocations: 490.7 kB / 0.5735 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4194, allocations: 3.938 kB / 0.5735 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.42, allocations: 322.3 kB / 0.5738 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.4207, allocations: 157.9 kB / 0.574 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.4293, allocations: 4.58 MB / 0.5784 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4297, allocations: 331.1 kB / 0.5788 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.43, allocations: 84.62 kB / 0.5788 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.4303, allocations: 191.4 kB / 0.579 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4303, allocations: 4 kB / 0.579 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0569/0.4872, allocations: 14.11 MB / 0.5928 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.45, allocations: 8.047 kB / 0.5928 GB, free: 15.28 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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: 16.405400042887777]