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.001471/0.001471, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.002041/0.002041, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9695/0.9695, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1252/0.1252, allocations: 29.42 MB / 292 MB, free: 2.625 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",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.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.705e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003152/0.003179, allocations: 3.457 MB / 374.3 MB, free: 28.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004407, allocations: 1.149 MB / 375.5 MB, free: 27.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004538, allocations: 7.938 kB / 375.5 MB, free: 27.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.005035, allocations: 203.1 kB / 375.7 MB, free: 27.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.005508, allocations: 282.7 kB / 376 MB, free: 27.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.005765, allocations: 107.5 kB / 376.1 MB, free: 27.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.006068, allocations: 338.9 kB / 376.4 MB, free: 26.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.006266, allocations: 126 kB / 376.5 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.006519, allocations: 199.4 kB / 376.7 MB, free: 26.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.006718, allocations: 151.5 kB / 376.9 MB, free: 26.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.006739, allocations: 12 kB / 376.9 MB, free: 26.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.007055, allocations: 259.2 kB / 377.1 MB, free: 26.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.282e-05/0.007138, allocations: 115.7 kB / 377.2 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.007196, allocations: 67.84 kB / 377.3 MB, free: 25.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.007499, allocations: 303 kB / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007502, allocations: 0 / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007504, allocations: 0 / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007509, allocations: 0 / 377.6 MB, free: 25.55 MB / 314.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.0004007/0.00791, allocations: 0.5461 MB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.007939, allocations: 8.031 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.008413, allocations: 124.5 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.008612, allocations: 204.8 kB / 378.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.008624, allocations: 16.38 kB / 378.5 MB, free: 24.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.008651, allocations: 20.38 kB / 378.5 MB, free: 24.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.008835, allocations: 216.2 kB / 378.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.008846, allocations: 3.938 kB / 378.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.008861, allocations: 4 kB / 378.7 MB, free: 24.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.008886, allocations: 23.98 kB / 378.8 MB, free: 24.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.008989, allocations: 95.83 kB / 378.9 MB, free: 24.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.009742, allocations: 1.273 MB / 380.1 MB, free: 22.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01001, allocations: 174.2 kB / 380.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.01004, allocations: 31.42 kB / 380.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.01005, allocations: 4 kB / 380.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.01007, allocations: 45.38 kB / 380.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.01007, allocations: 0 / 380.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004662/0.01054, allocations: 210.2 kB / 380.6 MB, free: 22.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.01056, allocations: 77.11 kB / 380.7 MB, free: 22.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.01064, allocations: 242.5 kB / 380.9 MB, free: 22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.01065, allocations: 25.7 kB / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.0107, allocations: 211 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.01073, allocations: 59.52 kB / 381.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.01077, allocations: 51.34 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.01081, allocations: 0.4962 MB / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.01084, allocations: 19.97 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.01089, allocations: 163.9 kB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.01099, allocations: 205.1 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.011, allocations: 0 / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001972/0.01119, allocations: 204.8 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01121, allocations: 4 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01121, allocations: 4 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.01136, allocations: 44.09 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.01144, allocations: 39.92 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004985/0.01194, allocations: 1.721 MB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.012, allocations: 8 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01201, allocations: 11.98 kB / 384.1 MB, free: 18.47 MB / 314.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 6.611e-05/0.01207, allocations: 180.5 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.0121, allocations: 23.91 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.01226, allocations: 129.5 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01227, allocations: 0 / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01227, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01227, allocations: 3.938 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.01262, allocations: 459.3 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01262, allocations: 3.938 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.01266, allocations: 19.94 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.01274, allocations: 31.66 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01275, allocations: 4 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004126/0.01316, allocations: 1.729 MB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01316, allocations: 4 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01333, allocations: 314 kB / 387 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.01334, allocations: 15.89 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01336, allocations: 4 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.01341, allocations: 4 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.01343, allocations: 11.92 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01344, allocations: 8.062 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.01348, allocations: 173 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01348, allocations: 0 / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01371, allocations: 52 kB / 387.3 MB, free: 15.1 MB / 314.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 8.152e-05/0.01379, allocations: 95.19 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.01404, allocations: 277.8 kB / 387.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01404, allocations: 0 / 387.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.01414, allocations: 225.4 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01439, allocations: 26.73 kB / 387.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.01515, allocations: 445.2 kB / 388.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.01519, allocations: 95.95 kB / 388.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.01525, allocations: 17.48 kB / 388.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.0153, allocations: 90.19 kB / 388.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0153, allocations: 0 / 388.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.003557/0.01886, allocations: 1.783 MB / 390.3 MB, free: 11.98 MB / 314.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.180940793827176]