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.0008785/0.0008785, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008772/0.0008772, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9525/0.9525, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2375/0.2375, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.979e-05, allocations: 8.672 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005655/0.005685, allocations: 6.231 MB / 436.4 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.007624, allocations: 1.569 MB / 438 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.007933, allocations: 31.75 kB / 438 MB, free: 5.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.008449, allocations: 182.5 kB / 438.2 MB, free: 5.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.009097, allocations: 401.5 kB / 438.6 MB, free: 5.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.009459, allocations: 235.5 kB / 438.8 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.01047, allocations: 1.108 MB / 440 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.01079, allocations: 298.9 kB / 440.2 MB, free: 3.527 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.01149, allocations: 0.6624 MB / 440.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.01193, allocations: 434.9 kB / 441.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.01201, allocations: 84 kB / 441.4 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.01209, allocations: 92 kB / 441.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.01229, allocations: 295.2 kB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.01249, allocations: 279.5 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007478/0.01323, allocations: 1.071 MB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01324, allocations: 0 / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01324, allocations: 0 / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.01325, allocations: 0 / 443.1 MB, free: 0.6289 MB / 410.7 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.1606/0.1739, allocations: 0.9465 MB / 444.1 MB, free: 54.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1739, allocations: 13.64 kB / 444.1 MB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.631e-05/0.174, allocations: 112.2 kB / 444.2 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.1741, allocations: 76.59 kB / 444.3 MB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.1748, allocations: 0.5808 MB / 444.9 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.1749, allocations: 189.2 kB / 445 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.175, allocations: 58.97 kB / 445.1 MB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.1757, allocations: 0.7496 MB / 445.9 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1757, allocations: 0 / 445.9 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1757, allocations: 26.44 kB / 445.9 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1757, allocations: 19.66 kB / 445.9 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.1763, allocations: 0.6002 MB / 446.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.178, allocations: 2.242 MB / 448.7 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.1784, allocations: 393.1 kB / 449.1 MB, free: 52.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1787, allocations: 187.5 kB / 449.3 MB, free: 52.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1787, allocations: 6.219 kB / 449.3 MB, free: 52.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.1789, allocations: 249.8 kB / 449.6 MB, free: 51.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.1789, allocations: 0 / 449.6 MB, free: 51.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001505/0.1804, allocations: 0.8024 MB / 450.4 MB, free: 51.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1805, allocations: 138.4 kB / 450.5 MB, free: 51.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1807, allocations: 401.8 kB / 450.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1807, allocations: 32.95 kB / 450.9 MB, free: 51.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1808, allocations: 321.5 kB / 451.2 MB, free: 51.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1809, allocations: 129.8 kB / 451.4 MB, free: 50.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.1809, allocations: 76.47 kB / 451.4 MB, free: 50.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.181, allocations: 360.7 kB / 451.8 MB, free: 50.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1811, allocations: 128.2 kB / 451.9 MB, free: 50.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1813, allocations: 254 kB / 452.2 MB, free: 50.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.1821, allocations: 0.656 MB / 452.8 MB, free: 49.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1821, allocations: 4.625 kB / 452.8 MB, free: 49.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000521/0.1826, allocations: 0.5179 MB / 453.3 MB, free: 49.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1826, allocations: 8.188 kB / 453.3 MB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1826, allocations: 3.375 kB / 453.3 MB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1828, allocations: 150.9 kB / 453.5 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.183, allocations: 83.83 kB / 453.6 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.1846, allocations: 2.136 MB / 455.7 MB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1848, allocations: 54.77 kB / 455.8 MB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1848, allocations: 16.91 kB / 455.8 MB, free: 47.92 MB / 410.7 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.0001801/0.185, allocations: 241.8 kB / 456 MB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.185, allocations: 47.97 kB / 456.1 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.1857, allocations: 488.9 kB / 456.5 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1857, allocations: 3.656 kB / 456.5 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1857, allocations: 4.188 kB / 456.6 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1857, allocations: 0 / 456.6 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1861, allocations: 0.6063 MB / 457.2 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1861, allocations: 4.031 kB / 457.2 MB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1862, allocations: 50.91 kB / 457.2 MB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.1864, allocations: 145.8 kB / 457.4 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1864, allocations: 10.45 kB / 457.4 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.1879, allocations: 2.125 MB / 459.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1879, allocations: 4.062 kB / 459.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.1887, allocations: 0.6912 MB / 460.2 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.1888, allocations: 81.34 kB / 460.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1889, allocations: 11.02 kB / 460.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.189, allocations: 21.36 kB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1891, allocations: 34.2 kB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1891, allocations: 13.78 kB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.1892, allocations: 281.5 kB / 460.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1892, allocations: 4 kB / 460.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.1896, allocations: 164.6 kB / 460.8 MB, free: 44.74 MB / 410.7 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.0009445/0.1906, allocations: 1.236 MB / 462 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.1911, allocations: 0.4892 MB / 462.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1911, allocations: 0 / 462.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.1914, allocations: 319.3 kB / 462.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1918, allocations: 154.9 kB / 463 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.1955, allocations: 4.491 MB / 467.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1957, allocations: 335.1 kB / 467.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.1959, allocations: 84.92 kB / 467.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1961, allocations: 196 kB / 468.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1961, allocations: 0 / 468.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.2299, allocations: 14.19 MB / 482.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.982, allocations: 5.328 kB / 482.3 MB, free: 38.36 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins/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: 10.006620297208428]