Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.0009835/0.0009835, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.0008851/0.0008851, allocations: 162.2 kB / 24.99 MB, free: 8.746 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2593/0.2593, allocations: 29.41 MB / 291.2 MB, free: 2.52 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.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.755e-05, allocations: 5.922 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006009/0.006037, allocations: 3.578 MB / 373.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.01069, allocations: 1.442 MB / 374.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.01082, allocations: 11.94 kB / 374.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.01138, allocations: 250.9 kB / 374.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.01187, allocations: 290.5 kB / 375.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.01213, allocations: 111.5 kB / 375.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.01256, allocations: 342.9 kB / 375.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.01283, allocations: 122.1 kB / 375.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.01314, allocations: 211.2 kB / 375.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.01338, allocations: 151.5 kB / 376.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.01341, allocations: 12 kB / 376.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.01376, allocations: 267.2 kB / 376.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.01385, allocations: 111.7 kB / 376.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.01393, allocations: 67.84 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.01428, allocations: 303 kB / 376.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01428, allocations: 4 kB / 376.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01428, allocations: 0 / 376.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.01429, allocations: 0 / 376.8 MB, free: 4.082 MB / 346.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.0005404/0.01483, allocations: 0.5423 MB / 377.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.01486, allocations: 11.98 kB / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.01545, allocations: 132.6 kB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.01569, allocations: 204.8 kB / 377.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.0157, allocations: 20.36 kB / 377.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.01574, allocations: 20.36 kB / 377.8 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.01603, allocations: 232.3 kB / 378 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01604, allocations: 3.938 kB / 378 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.01606, allocations: 11.98 kB / 378 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.01609, allocations: 19.98 kB / 378 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.01627, allocations: 123.8 kB / 378.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.01727, allocations: 1.304 MB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.01753, allocations: 138.1 kB / 379.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.01758, allocations: 39.44 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.0176, allocations: 7.984 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01763, allocations: 37.39 kB / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.01763, allocations: 0 / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000432/0.01806, allocations: 220.7 kB / 379.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.0181, allocations: 81.11 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.01823, allocations: 242.5 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.01824, allocations: 25.7 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.01832, allocations: 214.9 kB / 380.4 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.01835, allocations: 63.45 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.01839, allocations: 47.5 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01851, allocations: 0.5001 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.01855, allocations: 23.98 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.01864, allocations: 167.2 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01879, allocations: 207 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.01879, allocations: 4 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001933/0.01899, allocations: 180.5 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.019, allocations: 11.94 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01901, allocations: 4 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01902, allocations: 7.938 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01913, allocations: 51.97 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01914, allocations: 4 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.0192, allocations: 8 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01921, allocations: 15.94 kB / 381.7 MB, free: 14.77 MB / 362.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/0.01929, allocations: 172.9 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.01932, allocations: 19.84 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.01948, allocations: 110 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01948, allocations: 7.938 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01949, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01949, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.02004, allocations: 0.5829 MB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02005, allocations: 4.047 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.0201, allocations: 31.91 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02011, allocations: 4 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.02012, allocations: 11.98 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02013, allocations: 8 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.02013, allocations: 7.938 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.02033, allocations: 390.9 kB / 383 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.02036, allocations: 27.89 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.02038, allocations: 8 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.02044, allocations: 4 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.02047, allocations: 27.84 kB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.02048, allocations: 8 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.798e-05/0.02055, allocations: 165.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02055, allocations: 0 / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.02078, allocations: 44 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.545e-05/0.02087, allocations: 107.1 kB / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.02104, allocations: 107.4 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02104, allocations: 3.938 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.0211, allocations: 53.28 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.0214, allocations: 38.91 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.02249, allocations: 0.516 MB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.16e-05/0.02257, allocations: 95.95 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.02266, allocations: 33.59 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.02271, allocations: 20.5 kB / 384.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.02271, allocations: 4 kB / 384.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003583/0.0263, allocations: 1.234 MB / 385.5 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.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.037475932855159]