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.001469/0.001469, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001378/0.001378, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.947/0.947, allocations: 177.1 MB / 205 MB, free: 5.617 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.2819/0.2819, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.463e-06/1.463e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.025e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003135/0.003156, allocations: 3.472 MB / 373.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.00436, allocations: 1.161 MB / 374.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.00447, allocations: 11.88 kB / 374.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.005001, allocations: 203.2 kB / 374.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.005378, allocations: 282.6 kB / 374.7 MB, free: 5.824 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.005544, allocations: 111.5 kB / 374.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.005817, allocations: 342.9 kB / 375.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.006045, allocations: 110.1 kB / 375.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.006314, allocations: 199.4 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.006507, allocations: 155.5 kB / 375.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.006532, allocations: 12 kB / 375.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.006792, allocations: 263.2 kB / 375.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.006882, allocations: 107.7 kB / 376 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.006955, allocations: 67.84 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.007287, allocations: 311 kB / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.00729, allocations: 0 / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00729, allocations: 0 / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.007297, allocations: 7.984 kB / 376.4 MB, free: 4.172 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.0005102/0.007807, allocations: 0.5345 MB / 376.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.007843, allocations: 11.98 kB / 376.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.008327, allocations: 132.6 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.008574, allocations: 216.8 kB / 377.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008588, allocations: 16.31 kB / 377.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.008623, allocations: 16.38 kB / 377.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.00888, allocations: 232.3 kB / 377.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008893, allocations: 3.938 kB / 377.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.00891, allocations: 8 kB / 377.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.008939, allocations: 23.92 kB / 377.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.009105, allocations: 119.8 kB / 377.7 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.01009, allocations: 1.316 MB / 379 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.01033, allocations: 130.2 kB / 379.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.01038, allocations: 35.42 kB / 379.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.0104, allocations: 4 kB / 379.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01042, allocations: 37.39 kB / 379.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.01043, allocations: 48 / 379.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004132/0.01084, allocations: 239.9 kB / 379.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.01088, allocations: 77.23 kB / 379.5 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01099, allocations: 238.6 kB / 379.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01101, allocations: 37.69 kB / 379.8 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.01109, allocations: 210.9 kB / 380 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.01111, allocations: 47.59 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.01116, allocations: 51.36 kB / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.01128, allocations: 0.5001 MB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.01131, allocations: 15.98 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01142, allocations: 171.1 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01156, allocations: 219.1 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01156, allocations: 4 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001753/0.01173, allocations: 177.2 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.01175, allocations: 4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01175, allocations: 4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01177, allocations: 12.36 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.01186, allocations: 47.92 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01187, allocations: 7.938 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.01192, allocations: 8 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01193, allocations: 12 kB / 381.3 MB, free: 14.87 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 7.944e-05/0.01201, allocations: 176.4 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.01203, allocations: 19.91 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.01218, allocations: 107.1 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01218, allocations: 3.938 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01219, allocations: 3.938 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01219, allocations: 8 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.01264, allocations: 0.5829 MB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01264, allocations: 4 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.01269, allocations: 27.92 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01269, allocations: 4.438 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.0127, allocations: 16 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01271, allocations: 7.938 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01271, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.0129, allocations: 391.2 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01291, allocations: 19.91 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01293, allocations: 8 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.01299, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.01302, allocations: 27.84 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01303, allocations: 12 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.01309, allocations: 165.1 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01309, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.0133, allocations: 48 kB / 382.9 MB, free: 13.07 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 7.607e-05/0.01338, allocations: 95.19 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.01352, allocations: 116.1 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01353, allocations: 8.062 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.01357, allocations: 43.55 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01384, allocations: 43.42 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.01464, allocations: 0.509 MB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.924e-05/0.0147, allocations: 95.95 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.756e-05/0.01477, allocations: 41.59 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.0148, allocations: 16.5 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0148, allocations: 0 / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Templates: time 0.002735/0.01754, allocations: 1.239 MB / 385.1 MB, free: 10.77 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.1378051568754017]