Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0007909/0.0007909, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003797/0.003797, allocations: 160 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.8419/0.8419, allocations: 177.1 MB / 205 MB, free: 5.727 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.2181/0.2181, allocations: 29.41 MB / 290.8 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.792e-05, allocations: 2.281 kB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004736/0.004764, allocations: 3.407 MB / 434.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.00685, allocations: 1.387 MB / 436.3 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.006975, allocations: 11.88 kB / 436.3 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.007555, allocations: 246.9 kB / 436.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.00795, allocations: 286.6 kB / 436.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.0081, allocations: 111.5 kB / 436.9 MB, free: 7.652 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.008359, allocations: 346.9 kB / 437.2 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.008587, allocations: 118.1 kB / 437.4 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.008817, allocations: 203.3 kB / 437.6 MB, free: 7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.008982, allocations: 143.6 kB / 437.7 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.009002, allocations: 16 kB / 437.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.009228, allocations: 267 kB / 438 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.009308, allocations: 107.8 kB / 438.1 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.009371, allocations: 75.83 kB / 438.1 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.00968, allocations: 355 kB / 438.5 MB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009684, allocations: 0 / 438.5 MB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.009686, allocations: 0 / 438.5 MB, free: 6.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.00969, allocations: 0 / 438.5 MB, free: 6.055 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004844/0.01017, allocations: 457 kB / 438.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01021, allocations: 15.98 kB / 439 MB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.01066, allocations: 88.69 kB / 439 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.01088, allocations: 209.8 kB / 439.2 MB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.01089, allocations: 16.36 kB / 439.3 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.01093, allocations: 20.36 kB / 439.3 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.01124, allocations: 315.3 kB / 439.6 MB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01125, allocations: 3.938 kB / 439.6 MB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.01127, allocations: 11.98 kB / 439.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.01129, allocations: 12 kB / 439.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.01157, allocations: 287.7 kB / 439.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.0125, allocations: 1.166 MB / 441.1 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.01283, allocations: 205.2 kB / 441.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.01288, allocations: 49.75 kB / 441.3 MB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.0129, allocations: 4 kB / 441.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.01292, allocations: 34.78 kB / 441.4 MB, free: 3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.01292, allocations: 7.938 kB / 441.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005756/0.0135, allocations: 361.5 kB / 441.7 MB, free: 2.629 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.01353, allocations: 77.11 kB / 441.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.01364, allocations: 191.5 kB / 442 MB, free: 2.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.01365, allocations: 29.7 kB / 442 MB, free: 2.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.01372, allocations: 160.2 kB / 442.2 MB, free: 2.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.01374, allocations: 55.58 kB / 442.2 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.01379, allocations: 45.64 kB / 442.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.01386, allocations: 330.8 kB / 442.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.01392, allocations: 56.09 kB / 442.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.01401, allocations: 152.8 kB / 442.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.01418, allocations: 228.7 kB / 443 MB, free: 1.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01418, allocations: 4 kB / 443 MB, free: 1.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002516/0.01443, allocations: 262.3 kB / 443.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.01444, allocations: 4 kB / 443.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01445, allocations: 4 kB / 443.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.01459, allocations: 40.83 kB / 443.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.01467, allocations: 47.92 kB / 443.4 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/0.1656, allocations: 1.309 MB / 444.7 MB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1657, allocations: 6.062 kB / 444.7 MB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1658, allocations: 12.09 kB / 444.7 MB, free: 53.36 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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1659, allocations: 157.4 kB / 444.8 MB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1659, allocations: 18.14 kB / 444.9 MB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1661, allocations: 194.8 kB / 445.1 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1661, allocations: 8.453 kB / 445.1 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1661, allocations: 2.406 kB / 445.1 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1661, allocations: 0 / 445.1 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1665, allocations: 489.1 kB / 445.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1665, allocations: 9.406 kB / 445.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.1666, allocations: 19.38 kB / 445.6 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.285e-05/0.1667, allocations: 33.56 kB / 445.6 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1667, allocations: 6.719 kB / 445.6 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/0.1671, allocations: 1.293 MB / 446.9 MB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1671, allocations: 3.688 kB / 446.9 MB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1672, allocations: 297.4 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.1672, allocations: 21.3 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1672, allocations: 3.938 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.1673, allocations: 7.156 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.1673, allocations: 13.62 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1673, allocations: 6.688 kB / 447.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.1674, allocations: 136.1 kB / 447.4 MB, free: 51.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1674, allocations: 0 / 447.4 MB, free: 51.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.1676, allocations: 50.56 kB / 447.4 MB, free: 51.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.196e-05/0.1677, allocations: 103.2 kB / 447.5 MB, free: 51.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1679, allocations: 257.1 kB / 447.8 MB, free: 51.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1679, allocations: 2.188 kB / 447.8 MB, free: 51.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.168, allocations: 171.3 kB / 447.9 MB, free: 51.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1682, allocations: 40.58 kB / 448 MB, free: 51.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.1687, allocations: 467.8 kB / 448.4 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.1688, allocations: 151.8 kB / 448.6 MB, free: 50.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1688, allocations: 17.59 kB / 448.6 MB, free: 50.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1688, allocations: 0 / 448.6 MB, free: 50.77 MB / 410.7 MB Notification: Performance of Templates: time 0.002715/0.1715, allocations: 3.258 MB / 451.9 MB, free: 50.58 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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: 4.781984175555408]