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.001079/0.001079, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002501, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001093/0.001093, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002412, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9664/0.9664, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08358/1.05, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1329/0.1329, allocations: 29.43 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/0.2502, allocations: 9.536 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.292e-06/1.292e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.03e-05, allocations: 3.859 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003882/0.003903, allocations: 3.554 MB / 287.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.0054, allocations: 1.177 MB / 289 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.005541, allocations: 8.75 kB / 289 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.006063, allocations: 256.3 kB / 289.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.00655, allocations: 294 kB / 289.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.006788, allocations: 109.4 kB / 289.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.007133, allocations: 356.3 kB / 290 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.007357, allocations: 120.5 kB / 290.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.00767, allocations: 223.7 kB / 290.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.007906, allocations: 154.9 kB / 290.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.007928, allocations: 14.5 kB / 290.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.008323, allocations: 258.2 kB / 290.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.008427, allocations: 111 kB / 290.8 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.008501, allocations: 63.91 kB / 290.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.0089, allocations: 279.2 kB / 291.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.008917, allocations: 0 / 291.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008918, allocations: 0 / 291.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.008935, allocations: 1.375 kB / 291.2 MB, free: 6.891 MB / 282.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.0005651/0.0095, allocations: 482.9 kB / 291.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.00953, allocations: 13.62 kB / 291.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.01007, allocations: 208 kB / 291.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.0103, allocations: 195.5 kB / 292 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.01031, allocations: 15.42 kB / 292.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.01034, allocations: 19.08 kB / 292.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.01057, allocations: 205.1 kB / 292.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01058, allocations: 7.938 kB / 292.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.01059, allocations: 6.656 kB / 292.3 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.01062, allocations: 16.8 kB / 292.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01074, allocations: 89.59 kB / 292.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.01159, allocations: 0.9773 MB / 293.4 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.0118, allocations: 150.4 kB / 293.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.01183, allocations: 29.27 kB / 293.5 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.01185, allocations: 6.969 kB / 293.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01188, allocations: 37.41 kB / 293.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01188, allocations: 0 / 293.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003057/0.01218, allocations: 139.9 kB / 293.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.01222, allocations: 83.27 kB / 293.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.01232, allocations: 179.4 kB / 294 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.01233, allocations: 27.67 kB / 294 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.01239, allocations: 163.9 kB / 294.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.01241, allocations: 56.73 kB / 294.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.01245, allocations: 34.39 kB / 294.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.01253, allocations: 330.8 kB / 294.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.01256, allocations: 21.17 kB / 294.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.01262, allocations: 116.9 kB / 294.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.01273, allocations: 169.8 kB / 294.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01274, allocations: 0 / 294.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001417/0.01288, allocations: 148 kB / 295 MB, free: 3.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01289, allocations: 10.97 kB / 295 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.0129, allocations: 3.844 kB / 295 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01291, allocations: 3.938 kB / 295 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01301, allocations: 47.45 kB / 295.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01302, allocations: 13.8 kB / 295.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.01307, allocations: 15.5 kB / 295.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01308, allocations: 7.719 kB / 295.1 MB, free: 3.555 MB / 282.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.711e-05/0.01316, allocations: 130.1 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.01318, allocations: 12.27 kB / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.0133, allocations: 88.62 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.0133, allocations: 0 / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01331, allocations: 7.938 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01331, allocations: 3.984 kB / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.01373, allocations: 493.5 kB / 295.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01373, allocations: 4 kB / 295.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.01378, allocations: 27.98 kB / 295.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.0138, allocations: 19.84 kB / 295.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01381, allocations: 4 kB / 295.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.01382, allocations: 12.38 kB / 295.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01382, allocations: 8 kB / 295.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01382, allocations: 4 kB / 295.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.01399, allocations: 347.5 kB / 296.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01401, allocations: 15.94 kB / 296.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.01406, allocations: 4 kB / 296.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.01409, allocations: 23.91 kB / 296.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01409, allocations: 4 kB / 296.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.01412, allocations: 45.66 kB / 296.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01413, allocations: 0 / 296.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01433, allocations: 48 kB / 296.4 MB, free: 2.121 MB / 282.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.196e-05/0.01441, allocations: 84.36 kB / 296.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.01454, allocations: 107.9 kB / 296.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01455, allocations: 4.875 kB / 296.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.01459, allocations: 54.03 kB / 296.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01484, allocations: 56.97 kB / 296.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.01903, allocations: 0.5378 MB / 297.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.01909, allocations: 95.95 kB / 297.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.01915, allocations: 25.62 kB / 297.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.01922, allocations: 71.36 kB / 297.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01922, allocations: 0 / 297.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of Templates: time 0.003036/0.02226, allocations: 1.362 MB / 298.8 MB, free: 15.66 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 -ignoreHideResult -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: 2.7157338615506887]