Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001694/0.001694, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002066/0.002066, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.1939/0.1939, allocations: 38.56 MB / 352.5 MB, free: 12.34 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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_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.003016/0.003016, allocations: 71.89 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3621, allocations: 62.45 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009337/0.3715, allocations: 6.478 MB / 0.5483 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005039/0.3765, allocations: 2.037 MB / 0.5503 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009048/0.3774, allocations: 35.56 kB / 0.5503 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3791, allocations: 0.5022 MB / 0.5508 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.381, allocations: 0.5573 MB / 0.5513 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3822, allocations: 372.3 kB / 0.5517 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.384, allocations: 1.309 MB / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008893/0.3849, allocations: 0.5359 MB / 0.5535 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.3861, allocations: 0.5656 MB / 0.554 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3876, allocations: 0.6996 MB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.3878, allocations: 99.34 kB / 0.5548 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.3893, allocations: 0.5329 MB / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.3899, allocations: 466.9 kB / 0.5558 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.3905, allocations: 442.2 kB / 0.5562 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.3927, allocations: 1.491 MB / 0.5577 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3927, allocations: 4 kB / 0.5577 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3927, allocations: 0 / 0.5577 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3927, allocations: 3.938 kB / 0.5577 GB, free: 4.152 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003017/0.3957, allocations: 1.291 MB / 0.5589 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.3958, allocations: 15.92 kB / 0.5589 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.396, allocations: 155.7 kB / 0.5591 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009975/0.397, allocations: 184.2 kB / 0.5593 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.3985, allocations: 0.6097 MB / 0.5599 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.3988, allocations: 333.6 kB / 0.5602 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.3991, allocations: 99.91 kB / 0.5603 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.4016, allocations: 1.358 MB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.4016, allocations: 4 kB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.4017, allocations: 32 kB / 0.5616 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.4019, allocations: 65.97 kB / 0.5617 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.4045, allocations: 1.288 MB / 0.563 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/0.4128, allocations: 4.618 MB / 0.5675 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.4151, allocations: 1.012 MB / 0.5685 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4163, allocations: 0.5764 MB / 0.569 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.885e-05/0.4164, allocations: 12.66 kB / 0.569 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.4164, allocations: 43.16 kB / 0.5691 GB, free: 8.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 5.63e-06/0.4164, allocations: 3.984 kB / 0.5691 GB, free: 8.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006429/0.4228, allocations: 2.968 MB / 0.572 GB, free: 5.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.423, allocations: 85.77 kB / 0.5721 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.4236, allocations: 477.8 kB / 0.5725 GB, free: 4.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.4236, allocations: 33.7 kB / 0.5725 GB, free: 4.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.424, allocations: 412.3 kB / 0.5729 GB, free: 4.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.4243, allocations: 269.7 kB / 0.5732 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.4246, allocations: 142.6 kB / 0.5733 GB, free: 3.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4248, allocations: 382.8 kB / 0.5737 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4258, allocations: 0.4977 MB / 0.5742 GB, free: 2.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.4271, allocations: 0.6833 MB / 0.5748 GB, free: 2.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.4294, allocations: 1.213 MB / 0.576 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.4294, allocations: 4 kB / 0.576 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004929/0.4343, allocations: 1.891 MB / 0.5779 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.4344, allocations: 11.94 kB / 0.5779 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004173/0.4386, allocations: 1.623 MB / 0.5795 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.4404, allocations: 0.6494 MB / 0.5801 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.4411, allocations: 151.8 kB / 0.5803 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.4545, allocations: 7.158 MB / 0.5872 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.4554, allocations: 75.91 kB / 0.5873 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.4555, allocations: 28 kB / 0.5873 GB, free: 4.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000568/0.4561, allocations: 313.5 kB / 0.5876 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.4562, allocations: 63.58 kB / 0.5877 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.4588, allocations: 1.23 MB / 0.5889 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.4589, allocations: 12 kB / 0.5889 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4589, allocations: 3.984 kB / 0.5889 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4589, allocations: 0 / 0.5889 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.4632, allocations: 2.201 MB / 0.5911 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4632, allocations: 4.094 kB / 0.5911 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/0.466, allocations: 499.3 kB / 0.5916 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.4661, allocations: 40.83 kB / 0.5916 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.4661, allocations: 16 kB / 0.5916 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.4675, allocations: 1.527 MB / 0.5931 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4675, allocations: 0 / 0.5931 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.471, allocations: 1.939 MB / 0.595 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4712, allocations: 59.56 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.4713, allocations: 19.94 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.4718, allocations: 63.91 kB / 0.5951 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.472, allocations: 64.48 kB / 0.5952 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.472, allocations: 27.92 kB / 0.5952 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004509/0.4725, allocations: 314.9 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4725, allocations: 0 / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009482/0.4734, allocations: 239.9 kB / 0.5957 GB, free: 12.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003988/0.4774, allocations: 2.507 MB / 0.5982 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.4806, allocations: 1.505 MB / 0.5997 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4806, allocations: 64 / 0.5997 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.4834, allocations: 0.9744 MB / 0.6006 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.4844, allocations: 153 kB / 0.6008 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.5037, allocations: 9.298 MB / 0.6098 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.5044, allocations: 477.8 kB / 0.6103 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007329/0.5051, allocations: 209.5 kB / 0.6105 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.5057, allocations: 295.3 kB / 0.6108 GB, free: 12.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5057, allocations: 0 / 0.6108 GB, free: 12.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/0.5739, allocations: 20.9 MB / 0.6312 GB, free: 7.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.3, allocations: 4.062 kB / 0.6312 GB, free: 7.621 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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.90106338588521]