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.001045/0.001045, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001823/0.001823, allocations: 168.7 kB / 24.91 MB, free: 9.156 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.9534/0.9534, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2656/0.2656, allocations: 29.42 MB / 291.2 MB, free: 2.418 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 2.275e-06/2.275e-06, allocations: 0 / 316.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.102e-05, allocations: 4.547 kB / 316.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003649/0.00368, allocations: 3.46 MB / 320.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.005018, allocations: 1.173 MB / 321.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.005139, allocations: 7.938 kB / 321.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.0057, allocations: 199.1 kB / 321.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.006354, allocations: 282.5 kB / 322 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.006684, allocations: 111.6 kB / 322.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.007132, allocations: 339.2 kB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.007428, allocations: 138.7 kB / 322.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.007769, allocations: 195.4 kB / 322.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.007992, allocations: 135.6 kB / 322.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.008013, allocations: 12 kB / 322.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.008398, allocations: 255.1 kB / 323.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.008506, allocations: 115.7 kB / 323.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.008576, allocations: 67.84 kB / 323.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.008948, allocations: 295.1 kB / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.008952, allocations: 4 kB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008953, allocations: 3.938 kB / 323.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.008957, allocations: 4 kB / 323.6 MB, free: 9.184 MB / 298.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.0004393/0.009397, allocations: 423.2 kB / 324 MB, free: 8.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.00943, allocations: 11.98 kB / 324 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.009906, allocations: 132.7 kB / 324.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.01013, allocations: 202 kB / 324.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.01015, allocations: 12.38 kB / 324.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.01018, allocations: 16.38 kB / 324.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.01039, allocations: 210.8 kB / 324.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.0104, allocations: 7.938 kB / 324.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.01041, allocations: 8 kB / 324.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.01044, allocations: 12 kB / 324.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.01055, allocations: 98.61 kB / 324.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.01147, allocations: 0.9693 MB / 325.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.01184, allocations: 194.6 kB / 325.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.01188, allocations: 29.77 kB / 325.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.0119, allocations: 0 / 325.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.01192, allocations: 38.56 kB / 325.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.01192, allocations: 0 / 325.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004974/0.01242, allocations: 191.8 kB / 326.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.01246, allocations: 81.11 kB / 326.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.01257, allocations: 175.3 kB / 326.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.01258, allocations: 33.7 kB / 326.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.01265, allocations: 156.2 kB / 326.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.01269, allocations: 47.58 kB / 326.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.01274, allocations: 45.69 kB / 326.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.01283, allocations: 326.8 kB / 327 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.01286, allocations: 26.94 kB / 327 MB, free: 5.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.01294, allocations: 120.7 kB / 327.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01309, allocations: 167.3 kB / 327.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01309, allocations: 0 / 327.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002467/0.01334, allocations: 181.9 kB / 327.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01336, allocations: 8 kB / 327.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.01336, allocations: 4 kB / 327.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.01353, allocations: 32.83 kB / 327.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01363, allocations: 39.92 kB / 327.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007319/0.01436, allocations: 1.196 MB / 328.7 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.01444, allocations: 8 kB / 328.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01446, allocations: 8 kB / 328.7 MB, free: 3.59 MB / 298.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 8.918e-05/0.01455, allocations: 132.5 kB / 328.9 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.01458, allocations: 15.98 kB / 328.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.01476, allocations: 122.1 kB / 329 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01477, allocations: 4 kB / 329 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01477, allocations: 0 / 329 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01477, allocations: 3.984 kB / 329 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.01521, allocations: 381.8 kB / 329.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.01522, allocations: 4 kB / 329.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.01527, allocations: 23.88 kB / 329.4 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.01536, allocations: 32.86 kB / 329.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01537, allocations: 8 kB / 329.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/0.01601, allocations: 1.194 MB / 330.6 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01601, allocations: 4.125 kB / 330.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01621, allocations: 274.7 kB / 330.9 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01623, allocations: 23.88 kB / 330.9 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01625, allocations: 4 kB / 330.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.01632, allocations: 4 kB / 331 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.01634, allocations: 11.92 kB / 331 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.01635, allocations: 7.984 kB / 331 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.0164, allocations: 46.73 kB / 331 MB, free: 1.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0164, allocations: 3.938 kB / 331 MB, free: 1.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.01669, allocations: 55.98 kB / 331.1 MB, free: 1.055 MB / 298.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.889e-05/0.01678, allocations: 76.42 kB / 331.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.01704, allocations: 210.1 kB / 331.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.01704, allocations: 0.875 kB / 331.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01717, allocations: 158.4 kB / 331.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.01743, allocations: 48.83 kB / 331.6 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.01831, allocations: 439.5 kB / 332 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.01839, allocations: 96.03 kB / 332.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.01845, allocations: 17.47 kB / 332.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.01852, allocations: 67.38 kB / 332.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01852, allocations: 4 kB / 332.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.004186/0.02271, allocations: 1.748 MB / 333.9 MB, free: 14.14 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.0563676320016384]