Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1901/0.1901, allocations: 38.51 MB / 342.5 MB, free: 8.078 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003076/0.003076, allocations: 71.3 kB / 478.6 MB, free: 33.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1348, allocations: 61.24 MB / 0.5272 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009191/0.144, allocations: 6.75 MB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.1479, allocations: 2.134 MB / 0.5359 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.1483, allocations: 31.75 kB / 0.5359 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1498, allocations: 0.5055 MB / 0.5364 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1511, allocations: 0.5678 MB / 0.537 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.1519, allocations: 355.2 kB / 0.5373 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1534, allocations: 1.298 MB / 0.5386 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.1542, allocations: 0.5918 MB / 0.5392 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.155, allocations: 0.5528 MB / 0.5397 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1561, allocations: 0.779 MB / 0.5405 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.1562, allocations: 104 kB / 0.5406 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1573, allocations: 0.624 MB / 0.5412 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.1578, allocations: 498.8 kB / 0.5416 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.1585, allocations: 0.5289 MB / 0.5422 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.1607, allocations: 1.53 MB / 0.5437 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1607, allocations: 0 / 0.5437 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1607, allocations: 0 / 0.5437 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1607, allocations: 0 / 0.5437 GB, free: 496 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003158/0.1639, allocations: 1.401 MB / 0.545 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1639, allocations: 19.89 kB / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/0.1641, allocations: 143.8 kB / 0.5452 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.1648, allocations: 144.2 kB / 0.5453 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1664, allocations: 0.6847 MB / 0.546 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.1666, allocations: 183.3 kB / 0.5462 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1668, allocations: 83.95 kB / 0.5462 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.1692, allocations: 1.41 MB / 0.5476 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.1693, allocations: 4 kB / 0.5476 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.1694, allocations: 32 kB / 0.5476 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.1696, allocations: 85.94 kB / 0.5477 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.1724, allocations: 1.518 MB / 0.5492 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007829/0.1803, allocations: 4.42 MB / 0.5535 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.1826, allocations: 1.119 MB / 0.5546 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.1839, allocations: 0.7152 MB / 0.5553 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.184, allocations: 12.66 kB / 0.5553 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.184, allocations: 47.2 kB / 0.5554 GB, free: 4.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.356e-06/0.184, allocations: 0 / 0.5554 GB, free: 4.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007127/0.1911, allocations: 3.868 MB / 0.5592 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.1912, allocations: 94.11 kB / 0.5592 GB, free: 88 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.1917, allocations: 401.8 kB / 0.5596 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.1918, allocations: 41.7 kB / 0.5597 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.1921, allocations: 349.1 kB / 0.56 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.1924, allocations: 364.8 kB / 0.5603 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.1927, allocations: 166.7 kB / 0.5605 GB, free: 14.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1929, allocations: 382.8 kB / 0.5609 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.194, allocations: 0.5875 MB / 0.5614 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.1952, allocations: 0.7424 MB / 0.5622 GB, free: 13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.1976, allocations: 1.383 MB / 0.5635 GB, free: 11.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1976, allocations: 7.984 kB / 0.5635 GB, free: 11.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002986/0.2006, allocations: 1.596 MB / 0.5651 GB, free: 9.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.2007, allocations: 11.98 kB / 0.5651 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2007, allocations: 4 kB / 0.5651 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.2008, allocations: 41.03 kB / 0.5651 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.2033, allocations: 0.4953 MB / 0.5656 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007392/0.2107, allocations: 6.686 MB / 0.5722 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.2115, allocations: 83.98 kB / 0.5722 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.2117, allocations: 32 kB / 0.5723 GB, free: 2.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0006358/0.2123, allocations: 321.5 kB / 0.5726 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.2125, allocations: 71.52 kB / 0.5726 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.2156, allocations: 1.592 MB / 0.5742 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/0.2157, allocations: 23.98 kB / 0.5742 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2157, allocations: 0 / 0.5742 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.2157, allocations: 8.016 kB / 0.5742 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.2211, allocations: 2.869 MB / 0.577 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.2211, allocations: 4 kB / 0.577 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/0.2239, allocations: 0.5268 MB / 0.5775 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.224, allocations: 44.77 kB / 0.5776 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/0.2241, allocations: 20 kB / 0.5776 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.2255, allocations: 1.634 MB / 0.5792 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.2255, allocations: 4 kB / 0.5792 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.2298, allocations: 2.544 MB / 0.5817 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.23, allocations: 140.6 kB / 0.5818 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.2302, allocations: 23.98 kB / 0.5818 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.2308, allocations: 67.84 kB / 0.5819 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.231, allocations: 92.36 kB / 0.582 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.2311, allocations: 24 kB / 0.582 GB, free: 7.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.2314, allocations: 275.1 kB / 0.5823 GB, free: 7.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2314, allocations: 4 kB / 0.5823 GB, free: 7.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009519/0.2324, allocations: 247.9 kB / 0.5825 GB, free: 7.164 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.004906/0.2373, allocations: 3.149 MB / 0.5856 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004319/0.2416, allocations: 1.767 MB / 0.5873 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2416, allocations: 0 / 0.5873 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002892/0.2445, allocations: 1.132 MB / 0.5884 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2455, allocations: 159 kB / 0.5886 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.2613, allocations: 9.131 MB / 0.5975 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.2622, allocations: 1.087 MB / 0.5986 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008155/0.263, allocations: 269.6 kB / 0.5988 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.2636, allocations: 291.3 kB / 0.5991 GB, free: 5.809 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2636, allocations: 0 / 0.5991 GB, free: 5.809 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2762/0.5398, allocations: 18.14 MB / 0.6168 GB, free: 71.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.03, allocations: 7.766 kB / 0.6168 GB, free: 71.5 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.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.080118401907384]