Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001397/0.001397, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001654/0.001654, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1839/0.1839, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",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.002177/0.002177, allocations: 67.89 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3965, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008305/0.4048, allocations: 6.072 MB / 0.5479 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.4075, allocations: 1.387 MB / 0.5492 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.4079, allocations: 34 kB / 0.5493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.4085, allocations: 147.7 kB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.4097, allocations: 434.9 kB / 0.5498 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.4104, allocations: 209.6 kB / 0.55 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.4118, allocations: 1.117 MB / 0.5511 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.4122, allocations: 217.4 kB / 0.5513 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000943/0.4132, allocations: 0.489 MB / 0.5518 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009795/0.4141, allocations: 0.5472 MB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.4143, allocations: 65.19 kB / 0.5524 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.4145, allocations: 65.69 kB / 0.5524 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004016/0.4149, allocations: 327.9 kB / 0.5528 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.4154, allocations: 313.3 kB / 0.5531 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.4168, allocations: 0.8804 MB / 0.5539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4168, allocations: 5 kB / 0.5539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4168, allocations: 0 / 0.5539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.4169, allocations: 0 / 0.5539 GB, free: 7.539 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002894/0.4198, allocations: 0.9655 MB / 0.5549 GB, free: 6.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.522e-05/0.4199, allocations: 17.17 kB / 0.5549 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.42, allocations: 99.77 kB / 0.555 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.4203, allocations: 82.02 kB / 0.5551 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4216, allocations: 0.5196 MB / 0.5556 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.4218, allocations: 223.4 kB / 0.5558 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4219, allocations: 63.95 kB / 0.5558 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.4234, allocations: 0.7811 MB / 0.5566 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4234, allocations: 4 kB / 0.5566 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.4235, allocations: 20 kB / 0.5566 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.4236, allocations: 40.91 kB / 0.5567 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.4252, allocations: 0.6869 MB / 0.5573 GB, free: 4.336 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.4298, allocations: 2.505 MB / 0.5598 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.4316, allocations: 0.7145 MB / 0.5605 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.4322, allocations: 312.4 kB / 0.5608 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4322, allocations: 8 kB / 0.5608 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4322, allocations: 34.56 kB / 0.5608 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.384e-06/0.4322, allocations: 0 / 0.5608 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003974/0.4362, allocations: 1.649 MB / 0.5624 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.4363, allocations: 93.06 kB / 0.5625 GB, free: 14.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.4368, allocations: 425.8 kB / 0.5629 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.4368, allocations: 29.7 kB / 0.563 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.4371, allocations: 328.8 kB / 0.5633 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.4372, allocations: 138.8 kB / 0.5634 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4373, allocations: 90.14 kB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4375, allocations: 358.8 kB / 0.5638 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.438, allocations: 236.8 kB / 0.5641 GB, free: 13.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.4386, allocations: 357.6 kB / 0.5644 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4397, allocations: 0.5741 MB / 0.565 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4397, allocations: 4 kB / 0.565 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001431/0.4411, allocations: 0.713 MB / 0.5657 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4411, allocations: 8 kB / 0.5657 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4411, allocations: 7.938 kB / 0.5657 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.4414, allocations: 73.67 kB / 0.5657 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4429, allocations: 291.8 kB / 0.566 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.4495, allocations: 6.083 MB / 0.572 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.4499, allocations: 35.95 kB / 0.572 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.45, allocations: 27.88 kB / 0.572 GB, free: 4.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004196/0.4504, allocations: 237.8 kB / 0.5722 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.4505, allocations: 51.72 kB / 0.5723 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.452, allocations: 0.6506 MB / 0.5729 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.452, allocations: 7.984 kB / 0.5729 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.452, allocations: 4 kB / 0.5729 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.452, allocations: 4 kB / 0.5729 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.4546, allocations: 1.329 MB / 0.5742 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4546, allocations: 0 / 0.5742 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.4562, allocations: 295.6 kB / 0.5745 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.4565, allocations: 97.58 kB / 0.5746 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.4565, allocations: 15.98 kB / 0.5746 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.4592, allocations: 2.946 MB / 0.5775 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4592, allocations: 0 / 0.5775 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.4612, allocations: 1.056 MB / 0.5785 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.4614, allocations: 43.67 kB / 0.5786 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.4614, allocations: 8 kB / 0.5786 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.4618, allocations: 32 kB / 0.5786 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.4619, allocations: 55.8 kB / 0.5787 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4619, allocations: 11.94 kB / 0.5787 GB, free: 13.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004006/0.4623, allocations: 299.1 kB / 0.579 GB, free: 13.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4623, allocations: 0 / 0.579 GB, free: 13.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.4631, allocations: 136 kB / 0.5791 GB, free: 12.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002316/0.4654, allocations: 1.587 MB / 0.5807 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.4681, allocations: 0.9736 MB / 0.5816 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4681, allocations: 0 / 0.5816 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.4701, allocations: 0.7199 MB / 0.5823 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.471, allocations: 151.8 kB / 0.5825 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/0.4801, allocations: 5.351 MB / 0.5877 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4805, allocations: 345.2 kB / 0.588 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.4809, allocations: 104.5 kB / 0.5881 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.4812, allocations: 203.4 kB / 0.5883 GB, free: 3.156 MB / 430.1 MB Notification: Performance of SimCode: time 2.224e-06/0.4812, allocations: 3.938 kB / 0.5883 GB, free: 3.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/0.5384, allocations: 14.14 MB / 0.6021 GB, free: 5.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.03, allocations: 7.625 kB / 0.6021 GB, free: 5.273 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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: 17.051709081046283]