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.0008305/0.0008305, 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.003134/0.003134, allocations: 160.2 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.8361/0.8361, allocations: 177.1 MB / 205 MB, free: 5.734 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.2043/0.2043, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",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.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.871e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.002818/0.002836, allocations: 3.391 MB / 434.9 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003975, allocations: 1.391 MB / 436.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.132e-05/0.004066, allocations: 11.88 kB / 436.3 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.004563, allocations: 254 kB / 436.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.004892, allocations: 286.6 kB / 436.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.005036, allocations: 111.5 kB / 436.9 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.005522, allocations: 342.9 kB / 437.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.005736, allocations: 118.1 kB / 437.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.005964, allocations: 203.3 kB / 437.5 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.006127, allocations: 151.6 kB / 437.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.006146, allocations: 16 kB / 437.7 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.006376, allocations: 271 kB / 438 MB, free: 6.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.006451, allocations: 99.77 kB / 438.1 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.006513, allocations: 79.77 kB / 438.2 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.006809, allocations: 355 kB / 438.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006811, allocations: 0 / 438.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006812, allocations: 0 / 438.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006816, allocations: 0 / 438.5 MB, free: 6.039 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.0004536/0.00727, allocations: 453 kB / 438.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.007308, allocations: 15.98 kB / 439 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.007725, allocations: 92.69 kB / 439 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.007944, allocations: 209.9 kB / 439.3 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.00796, allocations: 16.36 kB / 439.3 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.007989, allocations: 16.38 kB / 439.3 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.008306, allocations: 315.3 kB / 439.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.00832, allocations: 7.938 kB / 439.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.008338, allocations: 11.98 kB / 439.6 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.008363, allocations: 15.98 kB / 439.6 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.008628, allocations: 287.7 kB / 439.9 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.009533, allocations: 1.155 MB / 441.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.009778, allocations: 157.2 kB / 441.2 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.009831, allocations: 57.7 kB / 441.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.00985, allocations: 3.984 kB / 441.3 MB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.009868, allocations: 38.56 kB / 441.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.009869, allocations: 0 / 441.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004205/0.01029, allocations: 289 kB / 441.6 MB, free: 2.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.01033, allocations: 85.05 kB / 441.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.01044, allocations: 195.4 kB / 441.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.01045, allocations: 25.7 kB / 441.9 MB, free: 2.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.01052, allocations: 160.2 kB / 442.1 MB, free: 2.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.01054, allocations: 59.7 kB / 442.1 MB, free: 2.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.01058, allocations: 45.7 kB / 442.2 MB, free: 2.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.01066, allocations: 322.8 kB / 442.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.01071, allocations: 51.91 kB / 442.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.0108, allocations: 148.8 kB / 442.7 MB, free: 1.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01096, allocations: 220.6 kB / 442.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.01096, allocations: 0 / 442.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001957/0.01116, allocations: 221.2 kB / 443.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.01117, allocations: 4 kB / 443.1 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01117, allocations: 4 kB / 443.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01119, allocations: 11.94 kB / 443.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.01128, allocations: 47.86 kB / 443.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01129, allocations: 7.984 kB / 443.2 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.01134, allocations: 12 kB / 443.2 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01135, allocations: 8.438 kB / 443.2 MB, free: 0.9883 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 (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.476e-05/0.01144, allocations: 161.7 kB / 443.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.01146, allocations: 19.86 kB / 443.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.01163, allocations: 151.1 kB / 443.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01163, allocations: 3.938 kB / 443.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01163, allocations: 0 / 443.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01164, allocations: 7.922 kB / 443.5 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1497/0.1614, allocations: 0.5796 MB / 444.1 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.1614, allocations: 6.344 kB / 444.1 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.1614, allocations: 29.09 kB / 444.1 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1614, allocations: 6.281 kB / 444.1 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1615, allocations: 3.219 kB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1615, allocations: 7.688 kB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1615, allocations: 5.094 kB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.1617, allocations: 336.9 kB / 444.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1617, allocations: 17.58 kB / 444.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1617, allocations: 8.859 kB / 444.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1618, allocations: 5.844 kB / 444.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1618, allocations: 26.19 kB / 444.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1618, allocations: 7.812 kB / 444.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.1619, allocations: 136 kB / 444.7 MB, free: 53.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 444.7 MB, free: 53.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.1621, allocations: 46.59 kB / 444.7 MB, free: 53.81 MB / 410.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 8.192e-05/0.1622, allocations: 101.5 kB / 444.8 MB, free: 53.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1624, allocations: 148.2 kB / 445 MB, free: 53.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1624, allocations: 0 / 445 MB, free: 53.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.1625, allocations: 64.83 kB / 445 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1627, allocations: 42.53 kB / 445.1 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.1632, allocations: 0.5063 MB / 445.6 MB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.1632, allocations: 149.1 kB / 445.7 MB, free: 53.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1633, allocations: 24.47 kB / 445.8 MB, free: 53.32 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1633, allocations: 0 / 445.8 MB, free: 53.32 MB / 410.7 MB Notification: Performance of Templates: time 0.00227/0.1656, allocations: 2.354 MB / 448.1 MB, free: 53.21 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.50629997998476]