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.001523/0.001523, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001947/0.001947, allocations: 168.3 kB / 24.91 MB, free: 8.777 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2413/0.2413, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.563e-06/1.563e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.469e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003376/0.003391, allocations: 3.512 MB / 320.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004711, allocations: 1.177 MB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004822, allocations: 7.938 kB / 321.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.005275, allocations: 199.1 kB / 321.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.00599, allocations: 270.7 kB / 322 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.006354, allocations: 107.5 kB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.006775, allocations: 343.2 kB / 322.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.00701, allocations: 134.7 kB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.007323, allocations: 195.4 kB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.007541, allocations: 143.5 kB / 322.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.007562, allocations: 12 kB / 323 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.007934, allocations: 263.2 kB / 323.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.008032, allocations: 107.7 kB / 323.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.008103, allocations: 79.83 kB / 323.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.008494, allocations: 299.1 kB / 323.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.008498, allocations: 3.938 kB / 323.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0085, allocations: 0 / 323.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.008504, allocations: 0 / 323.7 MB, free: 9.145 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.0004342/0.008938, allocations: 423.2 kB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.008971, allocations: 15.98 kB / 324.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.009539, allocations: 128.7 kB / 324.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.009804, allocations: 202 kB / 324.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.00982, allocations: 16.36 kB / 324.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.00985, allocations: 20.38 kB / 324.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.01007, allocations: 198.8 kB / 324.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01009, allocations: 7.922 kB / 324.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.0101, allocations: 8 kB / 324.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.01013, allocations: 19.98 kB / 324.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.01026, allocations: 98.62 kB / 324.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.01111, allocations: 0.9536 MB / 325.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.0114, allocations: 202.5 kB / 326 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.01144, allocations: 29.78 kB / 326 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.01145, allocations: 8 kB / 326 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.01148, allocations: 34.56 kB / 326 MB, free: 6.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.01148, allocations: 0 / 326 MB, free: 6.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004259/0.0119, allocations: 174.9 kB / 326.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.01194, allocations: 85.03 kB / 326.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.01203, allocations: 183.3 kB / 326.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.01205, allocations: 25.7 kB / 326.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.01212, allocations: 164.2 kB / 326.6 MB, free: 5.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.01215, allocations: 51.72 kB / 326.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.0122, allocations: 41.69 kB / 326.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.01229, allocations: 330.8 kB / 327.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.01233, allocations: 18.81 kB / 327.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.0124, allocations: 121.4 kB / 327.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01254, allocations: 174.1 kB / 327.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.01255, allocations: 4 kB / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002213/0.01277, allocations: 168.9 kB / 327.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01279, allocations: 4 kB / 327.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01279, allocations: 4 kB / 327.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.01298, allocations: 41.25 kB / 327.6 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.01307, allocations: 47.92 kB / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000818/0.01389, allocations: 1.203 MB / 328.8 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.01397, allocations: 4 kB / 328.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01398, allocations: 8 kB / 328.8 MB, free: 3.547 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 0.0001054/0.01409, allocations: 132.7 kB / 329 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.01412, allocations: 15.98 kB / 329 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.0143, allocations: 108 kB / 329.1 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.01431, allocations: 4 kB / 329.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01431, allocations: 4 kB / 329.1 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01432, allocations: 7.922 kB / 329.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.0147, allocations: 381.9 kB / 329.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01471, allocations: 8.031 kB / 329.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.01475, allocations: 27.88 kB / 329.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-05/0.01483, allocations: 28.81 kB / 329.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01484, allocations: 0 / 329.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/0.01542, allocations: 1.206 MB / 330.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01542, allocations: 0 / 330.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.0156, allocations: 281.1 kB / 331 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.01561, allocations: 11.91 kB / 331 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01563, allocations: 15.97 kB / 331.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.01567, allocations: 0 / 331.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.0157, allocations: 15.92 kB / 331.1 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.0157, allocations: 8.062 kB / 331.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.01574, allocations: 46.72 kB / 331.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01574, allocations: 0 / 331.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.01594, allocations: 52 kB / 331.2 MB, free: 1.012 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.862e-05/0.01603, allocations: 76.36 kB / 331.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01628, allocations: 222.6 kB / 331.5 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.01628, allocations: 4 kB / 331.5 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.338e-05/0.01638, allocations: 151.4 kB / 331.6 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01657, allocations: 40.42 kB / 331.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.01732, allocations: 435.9 kB / 332.1 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.01739, allocations: 95.95 kB / 332.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.01744, allocations: 21.48 kB / 332.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.0175, allocations: 71.36 kB / 332.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0175, allocations: 0 / 332.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003487/0.02099, allocations: 1.745 MB / 334 MB, free: 14.1 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 -s gbode -gbm=radauIIA3 -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: 2.9117877380922437]