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.001337/0.001337, 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.001294/0.001294, allocations: 173.4 kB / 24.91 MB, free: 9.191 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.9811/0.9811, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2341/0.2341, allocations: 29.43 MB / 291.2 MB, free: 2.473 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.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.704e-06/1.704e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.837e-05/4.008e-05, allocations: 3.844 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004157/0.004197, allocations: 3.467 MB / 320.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.005601, allocations: 1.169 MB / 321.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.005721, allocations: 7.938 kB / 321.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.006233, allocations: 207 kB / 321.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.006688, allocations: 282.6 kB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.006892, allocations: 115.5 kB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.007181, allocations: 343.2 kB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.007395, allocations: 126.7 kB / 322.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.007662, allocations: 195.4 kB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.007843, allocations: 143.5 kB / 322.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.007862, allocations: 12 kB / 322.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.008129, allocations: 255.2 kB / 323.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.008231, allocations: 111.7 kB / 323.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.008298, allocations: 67.84 kB / 323.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.008619, allocations: 311 kB / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008622, allocations: 0 / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008624, allocations: 0 / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.008628, allocations: 0 / 323.6 MB, free: 9.195 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.0004697/0.009098, allocations: 415.3 kB / 324 MB, free: 8.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.009134, allocations: 15.98 kB / 324 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.009625, allocations: 128.7 kB / 324.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.009856, allocations: 209.1 kB / 324.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.009879, allocations: 20.31 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.009913, allocations: 20.36 kB / 324.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.01012, allocations: 198.9 kB / 324.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01013, allocations: 7.938 kB / 324.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.01016, allocations: 11.98 kB / 324.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.01018, allocations: 19.92 kB / 324.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.01029, allocations: 90.7 kB / 324.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01143, allocations: 0.9536 MB / 325.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.01165, allocations: 162.5 kB / 325.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.01169, allocations: 29.78 kB / 325.9 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.0117, allocations: 7.984 kB / 325.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.01173, allocations: 34.56 kB / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.01173, allocations: 0 / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002899/0.01202, allocations: 134.9 kB / 326 MB, free: 6.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.01205, allocations: 88.98 kB / 326.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.01216, allocations: 179.2 kB / 326.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01217, allocations: 29.7 kB / 326.3 MB, free: 6.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.01224, allocations: 152.2 kB / 326.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.01226, allocations: 51.58 kB / 326.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.01231, allocations: 45.81 kB / 326.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.01239, allocations: 330.8 kB / 326.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.01241, allocations: 18.81 kB / 326.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.01248, allocations: 121.4 kB / 327 MB, free: 5.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.01261, allocations: 175.3 kB / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01261, allocations: 0 / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001428/0.01275, allocations: 149.3 kB / 327.3 MB, free: 5.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01277, allocations: 8 kB / 327.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.01277, allocations: 7.984 kB / 327.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01279, allocations: 4 kB / 327.4 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.01288, allocations: 39.92 kB / 327.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01288, allocations: 7.938 kB / 327.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.01293, allocations: 8 kB / 327.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.01294, allocations: 8 kB / 327.4 MB, free: 5.035 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 (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 7.6e-05/0.01302, allocations: 132.9 kB / 327.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.01305, allocations: 15.92 kB / 327.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.01318, allocations: 96.09 kB / 327.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01319, allocations: 4 kB / 327.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01319, allocations: 3.938 kB / 327.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0132, allocations: 3.938 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.01362, allocations: 493.7 kB / 328.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01362, allocations: 0 / 328.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.01367, allocations: 31.92 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01368, allocations: 4 kB / 328.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.01369, allocations: 4 kB / 328.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01369, allocations: 4 kB / 328.2 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.0137, allocations: 7.938 kB / 328.2 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01389, allocations: 357.3 kB / 328.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01391, allocations: 19.91 kB / 328.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01393, allocations: 11.98 kB / 328.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.01399, allocations: 4 kB / 328.6 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.01402, allocations: 23.86 kB / 328.6 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.01403, allocations: 8 kB / 328.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.01406, allocations: 50.72 kB / 328.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01406, allocations: 0 / 328.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.01425, allocations: 40 kB / 328.7 MB, free: 3.586 MB / 298.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.049e-05/0.01433, allocations: 96.33 kB / 328.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.01444, allocations: 88.95 kB / 328.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.01445, allocations: 4 kB / 328.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.01449, allocations: 50.45 kB / 328.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01472, allocations: 49.69 kB / 329 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.01549, allocations: 0.5021 MB / 329.5 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01555, allocations: 95.97 kB / 329.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.0156, allocations: 17.62 kB / 329.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.01567, allocations: 71.38 kB / 329.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01567, allocations: 4 kB / 329.7 MB, free: 2.504 MB / 298.7 MB Notification: Performance of Templates: time 0.002938/0.01861, allocations: 1.345 MB / 331 MB, free: 1.184 MB / 298.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.0771936043165624]