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.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.001329/0.001329, allocations: 125 kB / 17.79 MB, free: 5.121 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.001426/0.001426, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.1886/0.1886, allocations: 38.51 MB / 342.5 MB, free: 8.059 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.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: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 72.62 kB / 478.6 MB, free: 33.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1188, allocations: 61.24 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009264/0.1281, allocations: 6.842 MB / 0.5339 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.1323, allocations: 2.15 MB / 0.536 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.1328, allocations: 27.81 kB / 0.536 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.1345, allocations: 0.5288 MB / 0.5365 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1359, allocations: 0.5522 MB / 0.5371 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1369, allocations: 367.3 kB / 0.5374 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.1387, allocations: 1.306 MB / 0.5387 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.1397, allocations: 0.5957 MB / 0.5393 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.1406, allocations: 0.5566 MB / 0.5398 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1416, allocations: 0.7283 MB / 0.5405 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.1418, allocations: 100 kB / 0.5406 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.1428, allocations: 0.5383 MB / 0.5412 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.1433, allocations: 470.8 kB / 0.5416 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.1439, allocations: 0.525 MB / 0.5421 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.1456, allocations: 1.464 MB / 0.5436 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1456, allocations: 0 / 0.5436 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1456, allocations: 0 / 0.5436 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.1456, allocations: 0 / 0.5436 GB, free: 0.5586 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.003146/0.1487, allocations: 1.378 MB / 0.5449 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1488, allocations: 11.89 kB / 0.5449 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.149, allocations: 139.7 kB / 0.5451 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.1497, allocations: 152.2 kB / 0.5452 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1513, allocations: 0.6947 MB / 0.5459 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.1515, allocations: 179.4 kB / 0.546 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.1518, allocations: 95.92 kB / 0.5461 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.1541, allocations: 1.358 MB / 0.5475 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.1541, allocations: 8 kB / 0.5475 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/0.1542, allocations: 32 kB / 0.5475 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.1544, allocations: 61.97 kB / 0.5476 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.1568, allocations: 1.292 MB / 0.5488 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007941/0.1648, allocations: 4.912 MB / 0.5536 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.1671, allocations: 1.091 MB / 0.5547 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1682, allocations: 0.5774 MB / 0.5552 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.709e-05/0.1682, allocations: 16.55 kB / 0.5553 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1683, allocations: 39.12 kB / 0.5553 GB, free: 4.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.1683, allocations: 0 / 0.5553 GB, free: 4.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006102/0.1744, allocations: 3.192 MB / 0.5584 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1744, allocations: 85.67 kB / 0.5585 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.175, allocations: 465.9 kB / 0.5589 GB, free: 292 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.175, allocations: 41.7 kB / 0.559 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.1754, allocations: 408.5 kB / 0.5594 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.1756, allocations: 265.8 kB / 0.5596 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.1759, allocations: 154.6 kB / 0.5598 GB, free: 15.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1761, allocations: 370.8 kB / 0.5601 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/0.1771, allocations: 0.4899 MB / 0.5606 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1782, allocations: 0.6872 MB / 0.5613 GB, free: 13.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.1803, allocations: 1.22 MB / 0.5625 GB, free: 12.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1804, allocations: 4 kB / 0.5625 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004576/0.1849, allocations: 1.97 MB / 0.5644 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.185, allocations: 11.94 kB / 0.5644 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003937/0.1889, allocations: 1.702 MB / 0.5661 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.1907, allocations: 0.6444 MB / 0.5667 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.1914, allocations: 155.8 kB / 0.5668 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.2036, allocations: 7.421 MB / 0.5741 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.2043, allocations: 79.94 kB / 0.5742 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.2044, allocations: 28 kB / 0.5742 GB, free: 140 kB / 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.0005167/0.2049, allocations: 309.6 kB / 0.5745 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.2051, allocations: 67.61 kB / 0.5746 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.2075, allocations: 1.297 MB / 0.5758 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.2075, allocations: 12 kB / 0.5758 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2076, allocations: 4 kB / 0.5758 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.2076, allocations: 3.984 kB / 0.5758 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.2119, allocations: 2.405 MB / 0.5782 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.2119, allocations: 4 kB / 0.5782 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.2146, allocations: 0.4916 MB / 0.5787 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.2147, allocations: 32.83 kB / 0.5787 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.2147, allocations: 27.94 kB / 0.5787 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.2161, allocations: 1.626 MB / 0.5803 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2161, allocations: 0 / 0.5803 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.2197, allocations: 2.017 MB / 0.5823 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.2199, allocations: 132.7 kB / 0.5824 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.22, allocations: 12 kB / 0.5824 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.2205, allocations: 67.92 kB / 0.5825 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.2207, allocations: 64.41 kB / 0.5826 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.2208, allocations: 19.98 kB / 0.5826 GB, free: 7.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.2212, allocations: 318.9 kB / 0.5829 GB, free: 6.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2212, allocations: 3.938 kB / 0.5829 GB, free: 6.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009706/0.2221, allocations: 232 kB / 0.5831 GB, free: 6.68 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.004012/0.2261, allocations: 2.595 MB / 0.5856 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.2293, allocations: 1.508 MB / 0.5871 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2293, allocations: 0 / 0.5871 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.232, allocations: 0.9744 MB / 0.5881 GB, free: 1.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.233, allocations: 159.7 kB / 0.5882 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.2509, allocations: 9.426 MB / 0.5974 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.2519, allocations: 1.067 MB / 0.5985 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006423/0.2525, allocations: 217.5 kB / 0.5987 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.253, allocations: 291.3 kB / 0.5989 GB, free: 6.016 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.253, allocations: 0 / 0.5989 GB, free: 6.016 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3261/0.5792, allocations: 20.46 MB / 0.6189 GB, free: 70.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.16, allocations: 1.375 kB / 0.6189 GB, free: 70.34 MB / 462.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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.69688511872664]