Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.0008154/0.0008154, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.003584/0.003584, allocations: 158.3 kB / 24.7 MB, free: 9.43 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.8293/0.8293, allocations: 177.1 MB / 205 MB, free: 5.723 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.2079/0.2079, allocations: 29.42 MB / 290.9 MB, free: 2.426 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: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.003e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003885/0.003905, allocations: 4.472 MB / 435.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.005127, allocations: 1.27 MB / 437.2 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.005264, allocations: 19.81 kB / 437.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.005903, allocations: 394.2 kB / 437.6 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.006202, allocations: 262.5 kB / 437.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.006456, allocations: 171.5 kB / 438 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.006809, allocations: 0.5761 MB / 438.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.007079, allocations: 229.4 kB / 438.8 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.007385, allocations: 358.9 kB / 439.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.007883, allocations: 263.3 kB / 439.5 MB, free: 5.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.007914, allocations: 32 kB / 439.5 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.008068, allocations: 123.8 kB / 439.6 MB, free: 4.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.008189, allocations: 199.4 kB / 439.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.008292, allocations: 147.7 kB / 439.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.00867, allocations: 0.5101 MB / 440.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008673, allocations: 0 / 440.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008673, allocations: 0 / 440.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.008679, allocations: 4 kB / 440.5 MB, free: 4.047 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000694/0.009373, allocations: 0.6388 MB / 441.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.009403, allocations: 11.98 kB / 441.1 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.009708, allocations: 84.59 kB / 441.2 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.0101, allocations: 351.9 kB / 441.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.01014, allocations: 25.38 kB / 441.6 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.01026, allocations: 40.75 kB / 441.6 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.01069, allocations: 480.9 kB / 442.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01071, allocations: 3.953 kB / 442.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01073, allocations: 20 kB / 442.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/0.01079, allocations: 24.98 kB / 442.1 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01112, allocations: 339.7 kB / 442.5 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.01227, allocations: 1.386 MB / 443.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.01247, allocations: 145.1 kB / 444 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.01256, allocations: 97.73 kB / 444.1 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.01257, allocations: 8.219 kB / 444.1 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.01259, allocations: 34.55 kB / 444.1 MB, free: 208 kB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.0126, allocations: 0 / 444.1 MB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1519/0.1645, allocations: 0.712 MB / 444.8 MB, free: 54.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1645, allocations: 83.53 kB / 444.9 MB, free: 54.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1647, allocations: 287.2 kB / 445.2 MB, free: 54.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1647, allocations: 29.27 kB / 445.2 MB, free: 54.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1648, allocations: 262.7 kB / 445.5 MB, free: 54.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1648, allocations: 65.89 kB / 445.5 MB, free: 54.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1649, allocations: 61.8 kB / 445.6 MB, free: 54.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.1649, allocations: 337 kB / 445.9 MB, free: 53.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.165, allocations: 92.22 kB / 446 MB, free: 53.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1651, allocations: 198.3 kB / 446.2 MB, free: 53.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1653, allocations: 316 kB / 446.5 MB, free: 53.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1653, allocations: 1.844 kB / 446.5 MB, free: 53.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004502/0.1658, allocations: 447 kB / 447 MB, free: 53.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1658, allocations: 9.406 kB / 447 MB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002776/0.1661, allocations: 290.9 kB / 447.3 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.1663, allocations: 127.3 kB / 447.4 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1664, allocations: 58.62 kB / 447.4 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1678, allocations: 2.234 MB / 449.7 MB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.1679, allocations: 13.8 kB / 449.7 MB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1679, allocations: 16.56 kB / 449.7 MB, free: 51.55 MB / 410.7 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 (29): * Single equations (assignments): 28 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.168, allocations: 196.6 kB / 449.9 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.168, allocations: 28.59 kB / 449.9 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1683, allocations: 239.7 kB / 450.2 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1683, allocations: 7.078 kB / 450.2 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1683, allocations: 3.25 kB / 450.2 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1683, allocations: 3.938 kB / 450.2 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1688, allocations: 0.6095 MB / 450.8 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1688, allocations: 0 / 450.8 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.1689, allocations: 38.05 kB / 450.8 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.1689, allocations: 35.84 kB / 450.8 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1689, allocations: 10.53 kB / 450.9 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004494/0.1694, allocations: 1.454 MB / 452.3 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1694, allocations: 7.125 kB / 452.3 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1696, allocations: 419 kB / 452.7 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.1697, allocations: 29.39 kB / 452.8 MB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1697, allocations: 11.67 kB / 452.8 MB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1697, allocations: 12.25 kB / 452.8 MB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.1698, allocations: 17.31 kB / 452.8 MB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1698, allocations: 3.156 kB / 452.8 MB, free: 49.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.1699, allocations: 203.5 kB / 453 MB, free: 49.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1699, allocations: 0 / 453 MB, free: 49.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.1701, allocations: 87.38 kB / 453.1 MB, free: 49.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.277e-05/0.1702, allocations: 105.7 kB / 453.2 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.1706, allocations: 378.1 kB / 453.6 MB, free: 48.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1706, allocations: 3.5 kB / 453.6 MB, free: 48.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1707, allocations: 233.4 kB / 453.8 MB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.171, allocations: 62.38 kB / 453.8 MB, free: 48.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.1717, allocations: 0.8396 MB / 454.7 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1719, allocations: 236.7 kB / 454.9 MB, free: 48.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1719, allocations: 24.75 kB / 454.9 MB, free: 48.06 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1719, allocations: 0 / 454.9 MB, free: 48.06 MB / 410.7 MB Notification: Performance of Templates: time 0.004274/0.1762, allocations: 5.935 MB / 460.9 MB, free: 47.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,sensor.p[1],sensor.p[2],sensor.p[3] Variables in the result:sensor.p[1],sensor.p[2],sensor.p[3],time [Calling sys.exit(0), Time elapsed: 4.789351577870548]